Skip to content

Layout & structure

ISeparator

A rule between groups of content, horizontal or vertical, with an optional label sitting in the line.

Invoice details

Payment terms

With a label

The label sits in the rule rather than above it.

or
Payment terms

Vertical

A vertical separator takes its height from its container, so give the container one.

Draft
Sent
Paid

Decorative or semantic

Separators are decorative by default and hidden from assistive technology. Set :decorative="false" when the rule marks a boundary a screen reader should hear about.

vue
<ISeparator :decorative="false" />

Props

PropTypeDefaultDescription
orientation'horizontal' | 'vertical''horizontal'Rule direction
labelstringText set into the rule
decorativebooleantrueHides it from assistive technology
unstyledbooleanDrop built-in classes
classstringMerged with the built-in classes
ui{ root?, line?, label? }Per-slot class overrides

ITable and ICard draw their own rules, so a separator on top of one gives you two lines.