React Native Card for Expo

Install

Card · Default, 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 composable card that springs down on press, with a spotlight that follows your finger.

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 { Card } from "@/components/ui/card";

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
variant

Surface style. Glass is translucent with a light edge — place it over colour or imagery.

"default" | "outline" | "elevated""default"
onPress / onLongPress

Makes the card a button with a spring press.

(e) => void—
pressable

Spring press without an onPress.

booleanfalse
highlight

Radial glow that tracks the finger, or an accent border that glows in.

"none" | "spotlight" | "border""none"
accent

Highlight colour.

stringtheme accent
padding

Inner padding.

number18
gap

Space between sections.

number14
disabled

Dims and blocks presses.

booleanfalse
Card.Header action

Element pinned to the header's top-right.

ReactNode—
Card.Title / Description numberOfLines

Clamp the text to this many lines with an ellipsis.

number—
Card.Content / Footer

Plain section view / bottom row of actions (row, 10pt gap); `style` overrides either.

{ children, style? }—
Card.Media source / height

Full-bleed image; place it first.

ImageSource / number— / 168
style

Style for the card surface (merged after the variant background, border and radius).

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

Pick the Variants chip above the preview, or set variant=… — "default" | "outline" | "elevated".

Style props

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

variant
"default" | "outline" | "elevated" · default "default"Surface style. Glass is translucent with a light edge — place it over colour or imagery.
accent
string · default theme accentHighlight colour.
style
StyleProp<ViewStyle>Style for the card surface (merged after the variant background, border and radius).
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
With onPress, onLongPress or pressable it scales down with a spring and bounces back on release.
Motion
highlight="spotlight" springs in a soft glow under your finger; highlight="border" fades in a glowing accent ring.
Screen readers
Becomes a button with disabled state when it has onPress or onLongPress. Card.Title is a header.
Web
Shows a pointer cursor when it has onPress.

Source

FAQ

How do I make a card view in React Native?
Use ExpoKit's Card: run npx @expokit/cli@latest add card in your Expo or React Native project and it copies a ready-made card view into your app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.
Does Card work in Expo Go?
Yes. 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 Card to my Expo app?
Run npx @expokit/cli@latest add card 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 Card free?
Yes. Card is free: its full source is on this page and the CLI installs it without an account.
Can I change how Card 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.