Skip to content
Preview
Start with a planDebug an issueReview the changes

Separator

orientation
"horizontal" | "vertical"
Default: "horizontal"
Direction of the rule.
inset
boolean
Inset along its length by --separator-inset: 12px (--hairline-inset) when horizontal, so a hairline list's rules start where its text does; 4px when vertical (toolbar dividers).
label
string
A stream marker ("Unread"): a centred Caption in quiet ink, or the accent's with tone="accent", and no rule. Also its accessible name. Horizontal only; a moment is a TimeSeparator.
tone
"neutral" | "accent"
Default: "neutral"
rootStyle
RootStyle<SeparatorKnobs>
Typed StyleX override: layout and the --separator-* knobs.

Rest props go to <div> props.

State machine

PreviewA rule separates groups in a list.
Plan the deployReview the changes