Swipe Deck — Swipeable Card Stack for React Native & Expo
A swipeable card stack for React Native: drag a card left, right or up, with a tilt that follows your finger, stamps in your colors, the next card rising underneath, buttons that swipe for you and undo. Reanimated 4, Gesture Handler, haptics, light and dark, touch and mouse.
by UpFork, built by Ramin ValadanMobile componentUpdated 14 Oct 2026

Code
3 files · 4 packages
About
Swipe Deck is the card stack behind discovery and review screens: matching, music and shopping picks, flashcards, triage. Cards follow your finger one to one, tilt as they go and fly off with the speed you gave them, while the card underneath rises to take their place.
- Left, right and up. Choose the ways a card may go; each gets a stamp in your color that fades in as you drag, with a wash of that color over the card.
- Buttons and undo.
swipe('left')sends the top card off as if it had been swiped;undo()brings the last one back the way it left. - Feels physical. 1:1 drag from where the pointer went down, a fling that keeps your speed, a spring back if you let go early, haptics at the point of no return.
- Any card. You draw the card; the deck rounds and clips it, stacks the next ones under it and keeps its place in your data.
- Touch and mouse, light and dark. Built on Gesture Handler, so it works with a mouse on the web; screen readers get an action for each way.
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 withExpo HapticsGesture HandlerReanimatedSVG
- 01
Copy the files into your app
- components/swipe-deck/index.ts
- components/swipe-deck/swipe-deck.tsx
- 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.
- 02
Install the packages with Expo
npx expo install expo-haptics react-native-gesture-handler react-native-reanimated react-native-worklets - 03
And what the demos use
npx expo install react-native-svg - 04
See it in your app
Make
demos/music.tsxyour app’sApp.tsx, inside the GestureHandlerRootView that Gesture Handler needs at its root:import { GestureHandlerRootView } from 'react-native-gesture-handler'; import Music from './demos/music'; export default function App() { return ( <GestureHandlerRootView style={{ flex: 1 }}> <Music scheme="light" /> </GestureHandlerRootView> ); }
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
- 01
Try it in the preview
Switch between light and dark, and resize it to phone and tablet widths, before you decide.
- 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.
- 03
Install it
Components go into your project with one shadcn command, dependencies included. Everything else downloads with a checksum.
- 04
Make it yours
It's your code now: rename it, restyle it and wire in your real data.
- 05
Or hand it to your AI
Copy the prompt and let your coding assistant place it in your project, following your conventions.
Yes, a free one: it keeps your order, every payment you make for it and the files together. Free products need it too: without an account you can look and try the live preview, but not download, install or copy anything.
Send the price as a USDT transfer on TRON (TRC-20) to the wallet on your order, shown with its QR code, then paste the transaction ID on the order. It's checked on-chain, and the files unlock once it's confirmed. Paid less? You're asked for the rest.
Yes. MIT and the Standard License both cover unlimited personal and commercial projects, client work included; the Standard License only asks that you don't resell it on its own. The product's page names its license.
Create a CLI token on your account page, put it in your project's .env.local, add UpFork to components.json once, and install with npx shadcn add: free and paid components alike.
Onto your order, in your account. Download links last ten minutes and can be made again.
Releases are scanned for malware and reviewed before anyone can download them, and every file shows its SHA-256 so you can check what you got.
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.
Selling your own work?
Get approved once, then publish components, templates and mobile components, paid in USDT straight to your own wallet.
Mobile





