Mobile › Navigation
Steps
Where you are in a short flow: segments with the step's name for checkout or sign-up, or dots for onboarding.
Installation
npx expo install plankui-mobile react-native-safe-area-context expo-hapticsUsage
import { Steps } from "plankui-mobile";
<Steps steps={["Cart", "Shipping", "Payment", "Review"]} current={1} />
<Steps variant="dots" steps={pages} current={page} />API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| steps | string[] | One short name per step. | |
| current | number | The step you are on, from 0. | |
| variant | 'bar' | 'dots' | 'bar' | Segments with "Step 2 of 4" above, or a row of dots. |