Dropped Card Pile into Tilt Carousel
A heading blurs in word by word and springs to the top. Three cards fall at different tilts, bounce into an uneven pile and unfold into a horizontal carousel in 3, 2, 1 order, with page dots and a Continue button fading in. Paging reuses the same spring.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "dropped-card-pile-into-tilt-carousel" to this project. The full source is attached at the end of this prompt. Put the files under components/dropped-card-pile-into-tilt-carousel/, 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
- 21 Nov 2026
- License
- Unlimited commercial projects
- Original design
- @dwijaxo 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
An onboarding page that opens with a title, one word at a time, each word resolving out of blur, followed by a subtitle. The title block then rises towards the top. Three tall cards fall from above with a slight tilt and settle into an overlapping pile, which fans out into a horizontal carousel with a small hop in each card. Page dots and a Continue button fade in. Swiping moves through the cards, and while a card is mid-swipe it turns about its vertical axis with the inner edge towards the viewer, so cards look like trapezoids. Side cards sit slightly higher than the centre card. After the intro the cards can be dragged. The cards carry grainy, dotted and ring-patterned artwork.
How it's built
A shared JavaScript core holds the timeline, the pile and slot poses, and procedurally generated card textures: a stippled density pattern and a set of orbs and thin rings, with no photo assets. The React Native component uses ordinary transform arrays in the order translate, perspective, rotateY, rotateZ, with the rotation angle computed from each card's distance to the scroll position. Dragging uses PanResponder. Fonts load through expo-font, Skia is among the imports for the generated textures, and a requestAnimationFrame loop supplies time. Springs are analytic damped springs, with a different stiffness for the drop, the spread and the paging.
Good for
- Onboarding or plan-selection screens built around a few large cards
- Horizontal carousels where the card in motion should tilt towards the viewer
- An intro sequence that assembles a pile and then spreads it
Dependencies
@shopify/react-native-skiaexpo-fontreact-native