React Native Gift Card for Expo

A photo gift card that tilts toward your finger and flips to reveal its code.

ProiOS · Android · Expo Go
9:41

Props

PropTypeDefault
amount

Formatted amount, e.g. "₹2,000".

string—
brand

Store / brand, top-left.

string—
message

Short note on the front.

string—
from / to

Who sent it and who it's for.

string—
code

Redeem code, revealed on the back (grouped in fours).

string—
validity

Expiry line on the back.

string—
onCopy

Shows a Copy button — wire it to expo-clipboard.

(code: string) => void—
image

Card art — a photo or texture (require() or { uri }).

ImageSourcePropTypedeep plum
tone

Light text for dark art, dark text for pale art.

"light" | "dark""light"
redeemed

Dim the card with a Redeemed label.

booleanfalse
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"#2a1630"
labels

Every built-in string, for translation.

{ tag?, for?, from?, redeemed?, code?, back?, copy?, copied? }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 over to the redeem code. The copy button calls onCopy and reads "Copied ✓" for a moment.
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, amount and redeemed state; the code is added to the label once it is flipped.

Source

FAQ

How do I make a gift card in React Native?
Use ExpoKit's Gift Card, a Pro component: with ExpoKit Pro, the ExpoKit CLI copies a ready-made gift 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 Gift Card work in Expo Go?
Yes. Gift 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 Gift 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 Gift Card free?
Gift 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.