Separator
Visually or semantically separates content.
Features
- Supports horizontal and vertical orientations.
Install the component from your command line.
Import the components and piece the parts together.
Create your styled separator component from the primitive part.
The separator.
Prop | Type | Default | Required |
---|---|---|---|
as | enum | div | |
orientation | enum | "horizontal" | |
decorative | boolean |
Adheres to the separator
role requirements.