React Native Card Stack for Expo

A Wallet-style stack that fans open on tap and slides the picked card to the front.

ProiOS · Android · Expo Go
9:41

Props

PropTypeDefault
data

Items, one card each.

T[]—
renderItem

Render a card. `front` is true for the card in front.

({ item, index, front }) => ReactNode—
keyExtractor

React key for each card.

(item: T, index: number) => stringindex
cardHeight

Card height.

number190
peek

How much of each card shows behind the front one when closed.

number14
spread

Space between cards when open.

number64
depth

Cards visible behind the front one when closed.

number3
selected

Controlled front card (index into data).

number—
onPressFront

Tap on the front card while closed (pay with it); the cards behind still open the stack.

(index) => void—
getAccessibilityLabel

Screen-reader label for each card.

(item, index) => string"Card 2 of 4"
defaultSelected

Uncontrolled initial front card.

number0
onSelect

Fires when a card is picked.

(index: number) => void—
open

Controlled open state.

boolean—
onOpenChange

Fires when the stack opens or closes.

(open: boolean) => void—
radius

Corner radius of each card.

number18
style

Style for the root view.

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

Use the variant chips on the preview to switch examples; each maps to a demo you can copy from the Code tab.

Style props

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

style
StyleProp<ViewStyle>Style for the root view.
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

Touch
Tap the closed stack to fan it open, then tap a card to bring it to the front as the stack closes. With onPressFront, a tap on the front card calls it instead.
Motion
Cards behind the front one shrink and tilt back in 3D depth. Opening, closing and reordering all run on springs.
Screen readers
Each card is a button with selected and expanded state, labelled "Card 2 of 4" by default or by getAccessibilityLabel.

Source

FAQ

How do I make a stacked card wallet in React Native?
Use ExpoKit's Card Stack, a Pro component: with ExpoKit Pro, the ExpoKit CLI copies a ready-made stacked card wallet into your Expo or React Native app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.
Does Card Stack work in Expo Go?
Yes. Card Stack runs in Expo Go on iOS and Android with no development build.
How do I add Card Stack to my Expo app?
With ExpoKit Pro, add it with the ExpoKit CLI: it copies the component's source into your app, so the code is yours to change. The install command is on this page for Pro members.
Is Card Stack free?
Card Stack is part of ExpoKit Pro. With a Pro plan, log the CLI in once (npx @expokit/cli@latest login) and it installs the full source into your app.