Separator
Draws a thin horizontal or vertical line between groups of content, hidden from screen readers unless it carries meaning.
Parts
| Part | File | Does |
|---|---|---|
| Separator | Separator.vue | Divides content into distinct sections. |
Styling
All of Separator’s styles live in separator.json. New to styling in Frontic UI? How styling works →
Install
- npm packages
- @vueuse/core
- class-variance-authority
- reka-ui
API reference
Divides content into distinct sections.
Props 5
| Prop | Type | Default | |
|---|---|---|---|
| orientation | DataOrientation | 'horizontal' | |
| |||
| decorative | boolean | true | |
| |||
| asChild | boolean | false | |
| |||
| as | AsTag | Component | — | |
| |||
| class | ClassValue | — | |
| |||