Applies to every preview on the site.
Installation
One command copies the source into your app — you own the code and can change anything.
After you add the file, import it like any local component:
import { ProgressSteps } from "@/components/ui/progress-steps";Or add it with the CLI (installs any missing peers):
Usage
useKit(). Wrap your app in <KitProvider accent="#6366f1" radius={14}> to re-skin every component at once.Like this? There's a lot more in Pro Pro
12 full screens built from the same kit — install them the same way.
Props
| Prop | Type | Default |
|---|---|---|
| steps Step labels with optional descriptions (vertical, and two short lines in horizontal). | (string | { label, description? })[] | — |
| current Active step index. Earlier steps are complete; steps.length marks all done. | number | — |
| errorStep A failed step, drawn red with "!". | number | — |
| variant Nodes with labels · vertical list with descriptions · compact header and segmented bar. | "horizontal" | "vertical" | "bar" | "horizontal" |
| onStepPress Makes steps tappable, e.g. to jump back. | (index: number) => void | — |
| pressableSteps Which steps onStepPress applies to; "completed" only lets people go back. | "all" | "completed" | "all" |
| haptics Selection tick whenever current changes. | boolean | true |
| accent Solid colour of completed steps, connectors and the current ring; halos and tracks are tints of it. | string | theme accent |
| style Style for the step row / column (the bar container in the bar variant). | StyleProp<ViewStyle> | — |
| className Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides. | string | — |
Customization
You own the source file — tune appearance with props (no fork required for most tweaks). For brand-wide colours and radius, wrap your app in KitProvider; for one-off looks, use the style props below.
Design theme
Open Design theme on the live preview — accent, corner radius and font update every variant instantly (same as KitProvider in your app).
Variants
Pick the Variants chip above the preview, or set variant=… — "horizontal" | "vertical" | "bar".
Style props
React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).
- variant
- "horizontal" | "vertical" | "bar" · default "horizontal"Nodes with labels · vertical list with descriptions · compact header and segmented bar.
- accent
- string · default theme accentSolid colour of completed steps, connectors and the current ring; halos and tracks are tints of it.
- style
- StyleProp<ViewStyle>Style for the step row / column (the bar container in the bar variant).
- className
- stringTailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.
Map tokens from your design system on Bring your design system or read Theming for KitProvider and NativeWind / Uniwind setup.
Behaviour & accessibility
- Motion
- When current changes, the finished node pops and draws its check, the connector fills toward the next step and the new step lights up. The current step's ring pulses.
- Touch
- With onStepPress, steps become buttons that squish on press; pressableSteps='completed' limits taps to finished steps.
- Haptics
- A selection tick plays whenever current changes (haptics, on by default).
- Reduced motion
- Steps move with a short timing instead of springs, the ring stops pulsing and the done node appears without the overshoot pop.
- Screen readers
- Each step reads like 'Step 2 of 4, Shipping, current'. The bar variant is a progressbar labelled 'Step N of M' with the step name.
Source
FAQ
How do I make a step indicator in React Native?
npx @expokit/cli@latest add progress-steps in your Expo or React Native project and it copies a ready-made step indicator into your app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.Does Progress Steps work in Expo Go?
react-native-svg, expo-haptics) are all included in Expo Go.How do I add Progress Steps to my Expo app?
npx @expokit/cli@latest add progress-steps in your project. The CLI copies the component's source into your app and installs react-native-svg, expo-haptics, so the code is yours to change.Is Progress Steps free?
Can I change how Progress Steps looks?
useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit component. The code lives in your project, so you can also edit anything directly.