Carregando…
Carregando…
Carregando…Step indicator with horizontal/vertical orientation, status icons, content, dot and progress variants.
Demo coming soon
Add a demo component to DEMOS in _showcase.tsx for display/dot-stepper
Demo coming soon
Add a demo component to DEMOS in _showcase.tsx for display/progress-steps
$ npx kikitocn add stepperimport { Stepper } from "@/components/ui/cn/stepper/Stepper";
export function StepperExample() {
return (
<Stepper />
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
steps* | StepDef[] | — | Array de { label, description, content, status } |
activeStep | number | — | Índice do passo atual (controlado) |
defaultStep | number | 0 | Passo inicial (não-controlado) |
onStepChange | (step: number) => void | — | Callback ao mudar de passo |
orientation | 'horizontal' | 'vertical' | 'horizontal' | Orientação do stepper |
clickable | boolean | false | Permite navegar clicando nos passos |
className | string | — | Classes CSS extras |
Stepper — horizontal step indicator with navigation