Carregando…
Carregando…
Carregando…Linear step progress bar with step labels and size variants.
$ npx kikitocn add progress-stepsimport { ProgressSteps } from "@/components/ui/cn/progress-steps/ProgressSteps";
export function ProgressStepsExample() {
return (
<ProgressSteps current={50} orientation="horizontal" size="sm" />
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
steps* | ProgressStep[] | — | Array de { label, description?, status? } |
current* | number | — | Índice do passo atual (0-based) |
orientation | 'horizontal' | 'vertical' | 'horizontal' | Orientação |
size | 'sm' | 'md' | 'lg' | 'md' | Tamanho dos indicadores |
className | string | — | Classes CSS extras |
style | CSSProperties | — | Estilos inline pro container |
Horizontal (step 2 active)
Order placed
Confirmed #1042
Processing
Items packed
Shipped
In transit
Delivered
Vertical
Order placed
Confirmed #1042
Processing
Items packed
Shipped
In transit
Delivered
All steps done
Order placed
Confirmed #1042
Processing
Items packed
Shipped
In transit
Delivered