Installation
Usage
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| step | number | — | Current zero-based step index. |
| total | number | — | Total number of steps. |
| isFirst | boolean | — | True when on step 0. |
| isLast | boolean | — | True when on the last step. |
| progress | number | — | Completion percentage 0-100. |
| goNext | () => void | — | Advance to next step. |
| goPrev | () => void | — | Go back one step. |
| goTo | (step) => void | — | Jump to a specific step. |
| reset | () => void | — | Return to the initial step. |