Root Props
| Prop | Type | Default |
|---|---|---|
orientation | 'horizontal' | 'vertical' | 'horizontal' |
| Defines the orientation of the separator. 'horizontal': Divider between blocks (default); 'vertical': Divider between inline elements or columns | ||
Also accepts all <div> attributes.
Child Parts
- None.
Separatoris a single exported primitive.
Types
SeparatorProps
State Model
Separatorhas no controlled state.- Orientation is the only behavior-relevant prop.