Props
| Prop | Type | Default |
|---|---|---|
| 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. | boolean | true |
| radius Corner radius. | number | 18 |
| 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?
Does Loyalty Card work in Expo Go?
react-native-svg) are all included in Expo Go.How do I add Loyalty Card to my Expo app?
react-native-svg, so the code is yours to change. The install command is on this page for Pro members.Is Loyalty Card free?
npx @expokit/cli@latest login) and it installs the full source into your app.