Skip to main content
Version: Next

Separator API

import { Separator } from '@editora/ui-react';

Props​

PropTypeDescription
decorativeboolean
headlessboolean
inset'none' | 'sm' | 'md' | 'lg'
labelstring
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