Separator API
import { Separator } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
decorative | boolean | |
headless | boolean | |
inset | 'none' | 'sm' | 'md' | 'lg' | |
label | string | |
orientation | 'horizontal' | 'vertical' | |
size | 'thin' | 'medium' | 'thick' | |
tone | 'neutral' | 'brand' | 'success' | 'warning' | 'danger' | |
variant | 'solid' | 'dashed' | 'dotted' | 'gradient' | 'glow' |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
Element: <ui-separator>
Separator renders the ui-separator custom element from @editora/ui-core, which can also be used without React.
Attributes: decorative, headless, inset, label, orientation, size, tone, variant