Skip to content

Step

<ts-step> vv0.4.0

The ts-step component.

Open in Storybook for interactive demos.

<ts-step>Content</ts-step>
PropertyAttributeTypeDefaultDescription
completedcompletedbooleanfalseWhether this step is completed.
descriptiondescriptionstring | undefinedOptional description text below the label.
disableddisabledbooleanfalseWhether this step is disabled.
errorerrorbooleanfalseWhether this step has an error.
iconiconstring | undefinedOptional custom icon name.
labellabelstring | undefinedThe step label text.
NameDescription
*(default)*Default slot for step content.

Use ::part() to style internal elements:

PartDescription
connectorThe connector line between steps.
contentThe step content area.
descriptionThe step description.
indicatorThe step number/icon circle.
labelThe step label.
stepThe step wrapper.
ts-step::part(connector) {
/* your custom styles */
}
<ts-step>Content</ts-step>
import { TsStep } from '@tessera-ui/react';
<TsStep>Content</TsStep>