Skip to content

Stepper

<ts-stepper> vv0.4.0

The ts-stepper component.

Open in Storybook for interactive demos.

<ts-stepper active-step="0" orientation="horizontal">Content</ts-stepper>
PropertyAttributeTypeDefaultDescription
activeStepactive-stepnumber0The index of the currently active step (0-based).
linearlinearbooleanfalseIf true, steps must be completed in order.
orientationorientation"horizontal" | "vertical"'horizontal'The layout orientation.
NameDescription
*(default)*Default slot for ts-step children.

Use ::part() to style internal elements:

PartDescription
containerThe stepper container.
ts-stepper::part(container) {
/* your custom styles */
}
<ts-stepper active-step="0" orientation="horizontal">Content</ts-stepper>
import { TsStepper } from '@tessera-ui/react';
<TsStepper activeStep="0" orientation="horizontal">Content</TsStepper>