On this page
| Key | Function | Note |
|---|---|---|
| ArrowLeft | Moves focus to previous step | layout="horizontal" |
| ArrowRight | Moves focus to next step | |
| ArrowUp | Moves focus to previous step | layout="vertical" |
| ArrowDown | Moves focus to next step | |
| Home | Moves focus to the first step | [linear]="false" |
| End | Moves focus to the last step |
##### Inputs
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `activeStepIndex` | Currently active step index. | `number` | `0` |
| `defaultActiveStepIndex` | Initial active step index. | `number` | `0` |
| `id` | Unique HTML `id` for the component. If not provided, a default id will be generated. | `string` | `stepper-0` |
| `layout` | Layout orientation. Choose `vertical` for narrow designs. | `horizontal \| vertical` | `horizontal` |
| `linear` | Enforces linear progression (cannot skip steps). | `boolean` | `true` |
| `stepButtonLayout` | Layout of the step indicator (icon and label). | `horizontal \| vertical` | `horizontal` |
| `validation` | Enforces validation of steps. | `boolean` | `false` |
##### Outputs
| name | description | type |
| ---- | ----------- | ---- |
| `finished` | Emits when all steps are completed | `boolean` |
| `onReset` | Emits when the user triggers the reset() action. | `void` |
| `activeStepIndexChange` | Emits when the active step index changes | `number` |
##### Methods
| name | description | type |
| ---- | ----------- | ---- |
| `finish` | Triggers the finish action, marking the stepper as completed. | `void` |
| `reset` | Resets the stepper to its initial state, clearing all steps and active index. | `void` |
| `next` | Moves to the next step, if available and valid. | `void` |
| `prev` | Moves to the previous step, if available. | `void` |
### c-stepper-step _component_
##### Inputs
| name | description | type | default | notes |
| ---- | ----------- | ---- | ------- | ----- |
| `label` | The label for the step | `string \| TemplateRef` | `''` | _required_ |
| `id` | The unique identifier for the step | `string` | `''` |
| `indicator` | The step indicator content | `string \| TemplateRef` | `''` |
| `valid` | Indicates if the step is valid | `boolean` \| `undefined` |
| `disabled` | Disables the step | `boolean` | `false` |