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

API reference

Stepper provides a headless primitive set for value, focus, and state management, plus a styled wrapper component that hosts the same primitive internally.

tngStepper (directive)

Attach on a container element (ol, section, etc.) and project stepper items, triggers, labels, descriptions, panels, and connectors inside it.

Primitive attachment

html
<ol tngStepper aria-label="Release flow" defaultValue="review">
  <li tngStepperItem value="draft" label="Draft" completed>
    <button tngStepperTrigger><span tngStepperLabel>Draft</span></button>
  </li>
  <li tngStepperItem value="review" label="Review">
    <button tngStepperTrigger><span tngStepperLabel>Review</span></button>
  </li>
  <li tngStepperItem value="publish" label="Publish" optional>
    <button tngStepperTrigger><span tngStepperLabel>Publish</span></button>
  </li>
</ol>
SurfaceValuePurpose
Root attributesdata-slot, data-orientation, data-linearStable styling hooks for the primitive root.
Root inputsvalue, defaultValue, orientation, linear, loopFocusControl selection, first render state, orientation, linear gating, and focus wrapping.
Root outputsvalueChange, stepChangeObserve selected value changes and activation source metadata.
Item selector[tngStepperItem]Registers each step and emits data-state, data-step-index, and optional state hooks.
Trigger selector[tngStepperTrigger]Handles click activation, arrow-key focus, aria-current, and disabled semantics.

tng-stepper (component)

Wrapper that applies the baseline shell and attaches the headless tngStepper directive to its host. Use [steps] for data-driven flows, or project styled tng-stepper-item children for declarative markup.

Component attachment

html
protected readonly steps: readonly TngStepperStep[] = [
  { value: 'cart', label: 'Cart', completed: true },
  { value: 'shipping', label: 'Shipping' },
  { value: 'payment', label: 'Payment' },
];

<tng-stepper ariaLabel="Checkout steps" defaultValue="shipping" [steps]="steps" />

Declarative item composition

html
<tng-stepper ariaLabel="Checkout steps" defaultValue="shipping" linear>
  <tng-stepper-item value="cart" label="Cart" completed />
  <tng-stepper-item value="shipping" label="Shipping" />
  <tng-stepper-item value="payment" label="Payment" />
</tng-stepper>
InputTypeDefaultNotes
stepsreadonly TngStepperStep[] | nullnullGenerates styled tng-stepper-item rows from data.
orderedbooleantrueUses an ordered list for generated steps; set false for an unordered list.
ariaLabelstring'Stepper'Sets accessible label on the underlying stepper host.
ariaLabelledbystring | nullnullUses an external label element and suppresses the fallback ariaLabel.
valuestring | number | nullundefinedControls the selected step value when supplied.
defaultValuestring | number | nullundefinedSets the initial uncontrolled selected value.
orientation'horizontal' | 'vertical''horizontal'Controls orientation metadata and keyboard direction behavior.
linearbooleanfalsePrevents activation of future incomplete steps.
loopFocusbooleantrueAllows arrow-key focus to wrap at the ends.
valueChangeEventEmitter<string | number>-Emits the newly selected value.
stepChangeEventEmitter<TngStepperValueChangeEvent>-Emits value, previous value, and activation source.

tng-stepper-item (component)

Styled child item that hosts tngStepperItem internally and renders the trigger, label, description, marker, and state styling.

InputTypeDefaultNotes
valuestring | numbergeneratedStable step identity used by selection and events.
labelstring | nullnullVisible label and accessible label source.
descriptionstring | nullnullOptional supporting text rendered below the label.
completed, optional, disabled, errorbooleanfalseState flags forwarded to the headless item primitive.