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.
DraftSentPaid
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
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | 'horizontal' | 'vertical' | 'horizontal' | Rule direction |
label | string | — | Text set into the rule |
decorative | boolean | true | Hides it from assistive technology |
unstyled | boolean | — | Drop built-in classes |
class | string | — | Merged 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.