FreeMIT License

Lustre Cards — Metal Payment Card Carousel with Live Reflections for React Native & Expo

Payment cards in live metal — brushed steel, champagne gold, titanium, rose, a prism film and frosted glass — whose reflections slide as they turn, tilt and flip. A depth carousel, the card's back with a hold-to-reveal code, a frost "freeze". Skia shader, 60 fps.

by UpFork, built by Ramin ValadanMobile componentUpdated 14 Oct 2026

Watch0
Preview of Lustre Cards — Metal Payment Card Carousel with Live Reflections for React Native & Expo

Code

7 files · 6 packages

export { LustreCarousel } from './lustre-carousel';
export type { LustreCarouselHandle, LustreCarouselProps } from './lustre-carousel';
export { LustreCard, CARD_RATIO, cardHeight } from './lustre-card';
export type { CardMaterial, LustreCardProps, PaymentCard } from './lustre-card';
export { MATERIALS, resolveMaterial } from './materials';
export type { MaterialName, MaterialParams } from './materials';
export { LustreTiltCard } from './lustre-tilt-card';
export type { LustreTiltCardProps } from './lustre-tilt-card';
7 files6 packages

About

The card screen is where a bank feels premium — or doesn't. Lustre Cards draws each card in a live material: a light sits in front of it, and as the card turns in the carousel, tilts under your finger or flips over, the reflection slides across the metal and stretches along its brushing.

  • Six materials, one shader. Brushed steel, champagne gold, black titanium, rose gold, an iridescent prism film and frosted glass — or your own, from a few numbers. Dithered so dark metal never bands; highlights roll off instead of clipping.
  • A complete card. Chip, contactless mark, an embossed number whose edges catch the light, holder, expiry and an original network mark. The back has a magnetic stripe, a signature panel and a security code that shows only while held.
  • A carousel with depth. The card in focus faces you, lifted; the others turn away, darker, still visible. Flings land on a card; a plan panel cross-fades along with them.
  • Freeze. Frost grows across the card from one corner, with a line of crystals at its front, and the print turns readable on the ice.
  • Tilt it. Press and hold, hover with a mouse, or feed in a motion sensor.
  • Accessible: one adjustable control, an action that reads out the code, reduced-motion support. 60 fps on integrated graphics in the browser.

Two complete demos — "pick your card" onboarding and a card detail screen — each in light and dark. All names, numbers and the bank are invented; no real card network marks.

Reviews and bugs

0 reviews · 0 bugs

Ship it0With fixes0Skip0· 0 reviews

0 bugs0 open0 fixed

Members who have it review it and report its bugs. Sign in

No reviews or bugs yet.

Installation

React Native · Expo SDK 57

Built withSkiaExpo HapticsGesture HandlerReanimatedSVGSafe Area Context

  1. 01

    Copy the files into your app

    • components/lustre-cards/index.ts
    • components/lustre-cards/lustre-card.tsx
    • components/lustre-cards/lustre-carousel.tsx
    • components/lustre-cards/lustre-tilt-card.tsx
    • components/lustre-cards/materials.ts
    • components/lustre-cards/shader.ts
    • lib/use-scheme.ts
    • demos/ (2 screens showing it in use)

    At your app’s root, the folders side by side as they are: the files import each other by relative paths.

  2. 02

    Install the packages with Expo

    npx expo install @shopify/react-native-skia expo-haptics react-native-gesture-handler react-native-reanimated react-native-svg react-native-worklets
  3. 03

    And what the demos use

    npx expo install react-native-safe-area-context
  4. 04

    See it in your app

    Make demos/choose-card.tsx your app’s App.tsx, inside the GestureHandlerRootView that Gesture Handler needs at its root:

    import { GestureHandlerRootView } from 'react-native-gesture-handler';
    
    import ChooseCard from './demos/choose-card';
    
    export default function App() {
      return (
        <GestureHandlerRootView style={{ flex: 1 }}>
          <ChooseCard scheme="light" />
        </GestureHandlerRootView>
      );
    }
    
  5. 05

    On the web, load Skia first

    Phones need nothing more. On the web, copy node_modules/canvaskit-wasm/bin/full/canvaskit.wasm into your app’s public/ folder, add this index.web.ts, and set "main" to "index" in your package.json:

    import '@expo/metro-runtime';
    import { LoadSkiaWeb } from '@shopify/react-native-skia/lib/module/web';
    import { registerRootComponent } from 'expo';
    
    // Skia's engine first (public/canvaskit.wasm), then the app: nothing that uses Skia may load before it.
    LoadSkiaWeb({ locateFile: (file: string) => `/${file}` })
      .then(() => import('./App'))
      .then(({ default: App }) => registerRootComponent(App));
    

UpFork installs every revision just so into a fresh Expo app (SDK 57), type-checks it and builds it for the web before it goes on sale. An AI assistant can do it for you through UpFork’s MCP server: Install mobile components has both ways.

Before you buy

Everything you need to know

How this mobile component gets from the preview into your project, and what buyers ask most.

How to use it

From the preview to your project

  1. 01

    Try it in the preview

    Switch between light and dark, and resize it to phone and tablet widths, before you decide.

  2. 02

    Get it

    Free products are yours with a free account. Paid ones settle in USDT on TRON, sent straight to the wallet on your order.

  3. 03

    Install it

    Components go into your project with one shadcn command, dependencies included. Everything else downloads with a checksum.

  4. 04

    Make it yours

    It's your code now: rename it, restyle it and wire in your real data.

  5. 05

    Or hand it to your AI

    Copy the prompt and let your coding assistant place it in your project, following your conventions.

Building with an AI assistant?

Copy a ready-made prompt with the code, its dependencies and a demo, and your assistant can put it in place for you.

Copy AI prompt

Selling your own work?

Get approved once, then publish components, templates and mobile components, paid in USDT straight to your own wallet.