Stepper
Guides people through a flow in steps. tx-stepper holds the steps together with their panels — in a row or as vertical items; tx-steps only shows where they are, from an array of steps.
Basic
tx-step-list holds the numbered steps and tx-step-panels their content; a step and a panel with the same value belong together. [(value)] is the active step. Panel content in an ng-template txStepPanelContent is rendered when the step is first opened and gets activate(value) for the panel's own buttons.
Linear
With linear the steps in the header cannot be picked: people move on only with the buttons of each panel, so a step cannot be skipped.
Vertical
tx-step-item puts a step and its panel together; the step and the panel take the item's value. Panels open under their step with an animation, and a line joins the steps — coloured up to the active one.
Enter the domain you own, without www.
Disabled step
A disabled step cannot be picked and the arrow keys skip it. Panels without a template are plain content and stay rendered.
Step template
ng-template txStepContent replaces the step header with your own; it gets the step value, index, active, completed, disabled and activate(value). The separators stay. Inside a tx-step-list give the own button role="tab" and aria-selected.
Steps
tx-steps shows where people are in a flow from an items array, without panels. [(activeIndex)] is the current step; by default the steps are readonly, so the page moves them on.
- Cart, completed
- Shipping
- Payment
- Confirmation
Clickable steps
With [readonly]="false" every enabled step with a command is a button: a click makes it current and runs the command with { originalEvent, item, index }. Steps without a command stay plain. Arrow keys, Home and End move between the clickable steps; disabled ones are skipped.
- Payment
Click a step
Track
variant="track" is a compact row of markers with a label and a description: done steps get a check, the current one is filled, and an icon replaces the number. Narrower than 560px it stacks in a column. Setting activeIndex to items.length marks every step done.
- DomainName and zone, completed
- RecordsImport from the registrar
- SecurityCertificate and firewall
- LaunchGo live
Steps template
ng-template txStepsItem draws the content of each step; it gets the item, index, active and done. Done steps still announce "completed" to screen readers.
Ordered , completed Packed , completed Shipped Delivered
Design tokens
dt changes the tokens of one instance: stepper tokens on tx-stepper (numbers, titles, separators, panels), steps tokens on tx-steps (the track group for the track look).
- BuildCompile and test, completed
- DeployRoll out to staging
- ReleaseShip to everyone