Getting StartedInstallation and setup guides 5
LayoutWorkflow and structural layout components 7
OverlayModal and floating layer surfaces 3
FeedbackStatus, empty, progress, and loading placeholder patterns 5
FormInput and selection components 17
UtilityGeneral-purpose interface utilities 7
NavigationMenu surfaces and hierarchical actions 7

Styling contract

Separator exposes a compact styling contract built around slot and orientation data attributes. Theme at the token level and keep context-specific spacing in container styles.

State hooks

HookWhereUse
data-slot="separator"Primitive + wrapper rootBase color, thickness, and shared motion tokens.
data-orientation="horizontal"RootHorizontal width/height rules.
data-orientation="vertical"RootVertical width/min-height rules.
aria-hidden="true"Decorative modeConfirms divider is presentational only.
role="separator"Semantic modeAnnounces meaningful separation to assistive tech.

CSS starter

Separator CSS contract

css
[data-slot="separator"] {
  background: var(--tng-semantic-border-strong);
}

[data-slot="separator"][data-orientation="horizontal"] {
  block-size: 1px;
  inline-size: 100%;
}

[data-slot="separator"][data-orientation="vertical"] {
  inline-size: 1px;
  min-block-size: 1rem;
}

.toolbar [data-slot="separator"] {
  margin-inline: 0.5rem;
}