R

Separator

1 parts

Anatomy

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
PropTypeDescription
orientation?'horizontal' | 'vertical'The orientation of the separator.
decorative?booleanWhen `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`.