
Step component.
- Usage
- Props

Step component.
import { StepBar } from "@/ui/navigation/step-bar/components/StepBar";
export const MyComponent = () => {
return (
<StepBar activeStep={2}>
<StepBar.Step>Step 1</StepBar.Step>
<StepBar.Step>Step 2</StepBar.Step>
<StepBar.Step>Step 3</StepBar.Step>
</StepBar>
);
};
| Props | Type | Description |
|---|---|---|
| activeStep | number | The index of the currently active step. This determines which step should be visually highlighted |
Cette page vous a-t-elle été utile ?