React Native Loyalty Card for Expo

A points or stamp card on a shop photo that tilts and flips to a member code.

ProiOS · Android · Expo Go
9:41

Props

PropTypeDefault
brand

Programme name, top-left.

string—
member

Member's name (bottom line).

string—
memberId

Shown on the back under the code.

string—
tier

Tier pill, e.g. "Gold".

string—
points

Points balance (ignored with stamps).

number—
nextReward

Draws progress toward the next reward.

{ at: number; label: string }—
stamps

Stamp card instead of points.

{ filled: number; total: number; reward?: string }—
stampGlyph

Glyph in a filled stamp ("☕").

string"✓"
image

Card art — a photo of the shop, product or a texture.

ImageSourcePropType—
renderCode

Draw a real scannable code on the back.

(memberId: string) => ReactNode—
flipped / defaultFlipped / onFlip

Controlled or uncontrolled side.

boolean / boolean / (flipped) => void— / false / —
tilt

Tilt toward the finger.

booleantrue
radius

Corner radius.

number18
background

Card colour when there is no image.

string"#2b1f17"
labels

Every built-in string, for translation ({n} and {reward} are filled in).

{ ready?, more?, reward?, points?, toNext?, back? }English
style

Style for the root.

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.
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 card to flip it to the member code for the till, and tap again to turn it back.
Motion
With tilt on (the default) the card leans toward your finger with a moving reflection, then turns over in 3D on a spring.
Screen readers
The card is a button labelled with the brand, member and their points or stamp count.

Source

FAQ

How do I make a stamp card in React Native?
Use ExpoKit's Loyalty Card, a Pro component: with ExpoKit Pro, the ExpoKit CLI copies a ready-made stamp card 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 Loyalty Card work in Expo Go?
Yes. Loyalty Card 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 Loyalty Card to my Expo app?
With ExpoKit Pro, add it with the ExpoKit CLI: it copies the component's source into your app and installs react-native-svg, so the code is yours to change. The install command is on this page for Pro members.
Is Loyalty Card free?
Loyalty Card 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.