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

Style against explicit data hooks from the collapsible host and each step item. Keep state tokens centralized so current/completed/error remain visually consistent across flows.

State hooks

HookWhereUse
data-slot="collapsible"RootContainer spacing, orientation layouts, connector styling.
data-state="current"Owner-authored child itemActive step emphasis and readable focus baseline.
data-state="completed"Owner-authored child itemPast-step confirmation colors and icon treatment.
data-state="upcoming"Owner-authored child itemMuted future-step presentation.
data-state="error"Owner-authored child itemValidation/processing failure styling.

CSS starter

Collapsible state contract

css
[data-slot="collapsible"] {
  display: grid;
  gap: 0.65rem;
}

[data-slot="collapsible"] [data-state="current"] {
  border-color: var(--tng-semantic-accent-brand);
  background: color-mix(in srgb, var(--tng-semantic-accent-brand) 12%, transparent);
}

[data-slot="collapsible"] [data-state="completed"] {
  border-color: var(--tng-semantic-accent-success);
}

[data-slot="collapsible"] [data-state="error"] {
  border-color: var(--tng-semantic-accent-danger);
}