- Components
- Data display
- Separator
Separator
Visually or semantically separates content.
dotUI
Tools for building high-quality, accessible UI.
Docs
Components
Hooks
Themes
card.tsx
Installation
CLI
Manual
npm
pnpm
yarn
bun
Options
Orientation
Use the orientation
prop to change the direction of the separator.
Components
Hooks
Components
Hooks
orientation.tsx
API Reference
Prop | Type | Default | Description |
---|---|---|---|
elementType | string | - | The HTML element type to render. |
orientation | 'horizontal' | 'vertical' | 'horizontal' | The orientation of the separator. |
className | string | - | The CSS className for the element. |
style | CSSProperties | - | The inline style for the element. |