Asistente de pasos con transiciones animadas.
npx shadcn@latest add https://reactbits.dev/r/Stepper-TS-TW
Sustituyen a un componente estándar cuando la experiencia es parte del producto.
| Prop | Tipo | Por defecto |
|---|---|---|
| children | ReactNode | — |
| initialStep | number | 1 |
| onStepChange | (step: number) => void | () => {} |
| onFinalStepCompleted | () => void | () => {} |
| stepCircleContainerClassName | string | |
| stepContainerClassName | string | |
| contentClassName | string | |
| footerClassName | string | |
| backButtonProps | object | {} |
| nextButtonProps | object | {} |
| backButtonText | string | "Back" |
| nextButtonText | string | "Continue" |
| disableStepIndicators | boolean | false |
| renderStepIndicator | {} | undefined |