Skip to content

Separator ​

Overview ​

A visual separator between content sections, built on Reka UI's Separator.

Theme entry: Separator

Props ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
orientationstring"horizontal"The orientation of the separator.
decorativebooleantrueWhether the separator is purely decorative and hidden from assistive technology.
asstring|objectundefinedThe element or component to render as.
asChildbooleanfalseWhen true, merges props onto the child element instead of rendering a wrapper.

Source ​

client/lib/shell/separator/Separator.vue