Skewed Vertical Card Deck Picker
The front card shrinks briefly, is thrown below the tab bar, and two skewed cards behind it move forward while the background gradient cross-fades to the next card's color. It plays on a 1.18s beat or by pulling down.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "skewed-vertical-card-deck-picker" to this project. The full source is attached at the end of this prompt. Put the files under components/skewed-vertical-card-deck-picker/, 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. === Source files are attached here for paid plans ===
Details
- Platforms
- iOS, Android
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 23 Oct 2026
- License
- Unlimited commercial projects
- Original design
- @uiuxjosh 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 dark pick-one screen with a vertical deck of four photo cards under a large headline. The front card shows a title, an image and a short line. Pull down on the deck and the front card is pressed slightly, then thrown down toward the tab bar, where it shrinks and darkens. The cards behind rise one slot, and the two visible behind it are skewed so only a tilted sliver of their top edge shows. The page background changes colour with each front card. Letting go past a distance or speed threshold completes the flip, otherwise the deck springs back. If the user stops touching it, an autoplay timeline takes over from the current card. Two other small screens in the preview cycle background photos with a cross-fade and a slow zoom.
How it's built
A shared JavaScript core defines the slot table, the two easing curves, the autoplay timeline, the theme colour interpolation, the carousel and the drag controller. The React Native file renders it with Image, expo-linear-gradient for the changing background and expo-blur, with react-native-svg for icons, and a PanResponder reads the drag. A requestAnimationFrame loop advances the clock. The cards behind use a vertical skew rather than a rotation, so their sides stay vertical and their bottom corners stay hidden. The deck is a loop of four cards, with the parked card also fading in from the back so the cycle has no jump.
Good for
- Choosing a goal, plan or destination from a short list of rich cards
- A welcome or profile step where the page colour follows the selected option
- A vertical alternative to a swipe-away card stack
Dependencies
expo-blurexpo-linear-gradientreact-native-svgreact-native