Separator
A visual divider between content sections.
Import
Usage
Radix Primitives
An open-source UI component library.
Blog
Docs
Source
Separator Props
| Attribute | Type | Default | Description |
|---|---|---|---|
| orientation | 'horizontal' | 'vertical' | 'horizontal' | The orientation of the separator. |
| decorative | boolean | true | Whether the separator is decorative (no accessibility role). |
| className | string | - | Additional CSS classes for styling. |

