◇
Separator
1 partsAnatomy
Import the parts and compose them. Each part forwards attributes to its underlying element.
vue
import {
Separator,
} from '@robonen/primitives/separator';
<Separator />API Reference
Separator
Root| Prop | Type | Description |
|---|---|---|
orientation? | 'horizontal' | 'vertical' | The orientation of the separator. |
decorative? | boolean | When `true` the separator is purely decorative and is hidden from assistive technology (no role, `aria-hidden`). Otherwise it exposes `role="separator"` and the correct `aria-orientation`. |