Thrown Card Stack with Sheets and Undo
A journaling prototype: cards rotate with the finger and accelerate away when released, the next card brightens and a Kept bar pops up, and Undo flies the card back. The eye icon swaps ASCII art for the photo; a sheet, tabs and list thumbnail follow.
// Sign in to see the source. Free pieces need a free account.
Agent prompt
Add the Now In Code component "thrown-card-stack-with-sheets-and-undo" to this project. The full source is attached at the end of this prompt. Put the files under components/thrown-card-stack-with-sheets-and-undo/, install the listed dependencies with `npx expo install`, and render it on a route I can open. Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply. === Sign in to attach the source files ===
Details
- Platforms
- iOS, Android
- Requires
- Expo SDK 54+
- Access
- Free
- Updated
- 23 Nov 2026
- License
- Unlimited commercial projects
- Original design
- @tobiadonadon_ on X
Are you the designer? Ask us to change or remove this.
Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs
What it does
A voice-journal app with eight scripted interactions, each shown with and without extra motion polish. Flick the top card away and it follows the finger with some rotation, then accelerates off screen from the speed at release. The card below grows and brightens, the counter rolls only its last digit, and a Kept toast with Undo rises from the bottom. Undo shrinks under the finger and the card flies back from the side it left. Tapping the eye icon turns the ASCII-art card into a clear photo and a full-width sheet charges up; pulling the sheet down shrinks it slightly before it throws away. The tab bar cross-fades, and a list thumbnail grows into a detail page and returns to its row.
How it's built
This one uses Reanimated and gesture handling. A shared core holds the deck data, the timings and the physics, and the screen is built with react-native-reanimated, react-native-gesture-handler, Skia, linear gradients and SVG. The ASCII layer is generated per photo as a grid of characters whose glyphs flicker every 120 milliseconds. The card throw is a constant acceleration starting from the release speed. A switch lets the preview run a Without version that changes states instantly, to compare against the version with motion.
Good for
- Journal, notes or media apps where a card dismissal can be undone
- A reference for hand-tuned gesture release physics
- Shared-element style transitions between a list and a detail page
Dependencies
react-native-reanimatedreact-native-gesture-handler@shopify/react-native-skiareact-native-svgexpo-linear-gradientreact-native