Stepper overview
Stepper wraps the headless root with a baseline shell and an accessible label, while the generated or projected styled items manage value, state attributes, and keyboard focus.
Imports
Import the wrapper for [steps]. Add TngStepperItemComponent when composing declarative item children.
Component import
ts
import {
TngStepperComponent,
TngStepperItemComponent,
type TngStepperStep,
} from '@tailng-ui/components';
Progress indicator variants
The same wrapper shell rendered from a steps array or declarative item children.
Plain CSS progress stepper
Tailwind progress stepper
Accessibility baseline
- The styled item renders a headless trigger that applies
aria-current="step". - Arrow keys move focus across enabled triggers in document order.
- Optional, error, and completed inputs feed the generated state and accessible labels.