Hextech UI

Separator & Divider

Live example

Separator & Divider


Next chapter

Installation

Terminal
npx shadcn@latest add https://hextech-ui.vercel.app/r/separator.json

API reference

These are the main Separator & Divider options. See the exported TypeScript types for inherited native or primitive props.

PropTypeDefault
orientationhorizontal | verticalhorizontal
childrenReactNode (Divider)—

Separation

Use orientation to match the surrounding layout. Separators divide content; they do not provide headings. Divider supports a short visible label between sections.