React Native Stepper for Expo

Install

Stepper · Cart, native in Expo Go — the other variants are a tap away. No account needed.

Needs Expo Go for SDK 58 — update from the App Store or Play Store.

A quantity stepper whose digits roll up or down as the number changes.

iOS · Android · Expo Go
9:41

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:

App.tsx
import { Stepper } from "@/components/ui/stepper";

Or add it with the CLI (installs any missing peers):

Usage

Colours, radius and light / dark come from 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.

See what's in Pro

Props

PropTypeDefault
value / defaultValue

Controlled or uncontrolled value.

numbermin or 0
onValueChange

Called on every step.

(value) => void—
min / max

Limits; the matching button dims and a press past it bumps the number.

number0 / ∞
step

Increment (decimals are respected, e.g. 0.5).

number1
variant

Round outlined buttons, one tinted capsule, an accent cart button that collapses to + at 0, or small tinted buttons. Old names still work: default → outline, pill / segmented → filled, vertical → filled + vertical.

"outline" | "filled" | "cart" | "compact""outline"
size

32 / 36 / 44pt buttons (touch area always ≥ 44pt); the number and icons scale too. compact is always 28pt.

"sm" | "md" | "lg""md"
orientation

Stack + / number / − (outline, filled, compact).

"horizontal" | "vertical""horizontal"
format

Display format, e.g. currency; every changed character rolls.

(value) => string—
suffix

Muted unit after the number: "kg", or (n) => n === 1 ? "night" : "nights".

string | (value) => string—
addLabel

cart: text beside the + while collapsed, e.g. "Add".

string—
repeat

Hold to keep stepping, speeding up.

booleantrue
label

Title on the left; the control moves to the right edge.

string—
description

Muted line under the label.

string—
disabled

Dims and blocks the control.

booleanfalse
accent

Icons (filled, compact), press tint (outline), fill (cart).

stringtheme accent
iconColor

Overrides the − / + icon colour.

string—
accessibilityLabel

Read by screen readers; the control is adjustable (swipe up / down).

stringlabel
style

The control, or the whole row when label / description is set.

StyleProp<ViewStyle>—
className

Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.

string—
buttonStyle

Applied to each − / + button.

StyleProp<ViewStyle>—
valueStyle

Applied to the number (fontSize, colour, weight).

StyleProp<TextStyle>—

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=… — "outline" | "filled" | "cart" | "compact".

Style props

React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).

variant
"outline" | "filled" | "cart" | "compact" · default "outline"Round outlined buttons, one tinted capsule, an accent cart button that collapses to + at 0, or small tinted buttons. Old names still work: default → outline, pill / segmented → filled, vertical → filled + vertical.
size
"sm" | "md" | "lg" · default "md"32 / 36 / 44pt buttons (touch area always ≥ 44pt); the number and icons scale too. compact is always 28pt.
accent
string · default theme accentIcons (filled, compact), press tint (outline), fill (cart).
iconColor
stringOverrides the − / + icon colour.
style
StyleProp<ViewStyle>The control, or the whole row when label / description is set.
className
stringTailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.
buttonStyle
StyleProp<ViewStyle>Applied to each − / + button.
valueStyle
StyleProp<TextStyle>Applied to the number (fontSize, colour, weight).

Map tokens from your design system on Bring your design system or read Theming for KitProvider and NativeWind / Uniwind setup.

Behaviour & accessibility

Touch
Hold a button to keep stepping, speeding up as you hold. The cart variant opens from a single + into − 1 +, with a trash can at 1.
Motion
Each changed character slides out as the new one slides in; buttons spring on press and a press past min or max gives a small bump.
Screen readers
One adjustable element with min, max and the formatted value (suffix included), plus 'Increase' and 'Decrease' actions.

Source

FAQ

How do I make a quantity stepper in React Native?
Use ExpoKit's Stepper: run npx @expokit/cli@latest add stepper in your Expo or React Native project and it copies a ready-made quantity stepper into your app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.
Does Stepper work in Expo Go?
Yes. Stepper runs in Expo Go on iOS and Android with no development build — its packages (react-native-svg) are all included in Expo Go.
How do I add Stepper to my Expo app?
Run npx @expokit/cli@latest add stepper in your project. The CLI copies the component's source into your app and installs react-native-svg, so the code is yours to change.
Is Stepper free?
Yes. Stepper is free: its full source is on this page and the CLI installs it without an account.
Can I change how Stepper looks?
Yes. It takes its colours, radius and light / dark mode from 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.