Stepper
Stepper — where a person is in a flow of steps (onboarding, a checkout, a form in steps): the twin of genesis-ui-native's NativeStepper, with the same `steps` and `current`. Done steps show a check, the current one is marked (`aria-current="step"`), and each step's state is genesis-core's `stepState`, as on the phone.
packages/ui/src/components/ui/stepper.tsx
Import
Subpath export:
@marktiderman/genesis-uiimport { Stepper } from "@marktiderman/genesis-ui";Components
Auto-generated from TypeScript source via
react-docgen-typescript.Stepper
Stepper — where a person is in a flow of steps (onboarding, a checkout, a form in steps): the twin of genesis-ui-native's NativeStepper, with the same `steps` and `current`. Done steps show a check, the current one is marked (`aria-current="step"`), and each step's state is genesis-core's `stepState`, as on the phone.
| Prop | Type | Default | Description |
|---|---|---|---|
| current* | number | — | The step the person is on, from 0. |
| steps* | readonly StepperStep[] | — | |
| aria-label | string | — | The list's accessible name. Default "Progress". |
| className | string | — | |
| testID | string | stepper |