0:00/0:00
Recorded on iPhone. A feed of articles, swiped through one card at a time.
Gesture
Stacked Card Carousel
A pile of cards you swipe through one at a time. Tap the front card and it glides open to fill the screen.
Features
- Swipe the front card away and it flies off with a twist
- Cards behind rise, grow and sharpen into place
- Tap the front card and it glides open to fill the screen
- Put anything on a card, from a photo to a full article
- Pick a loose, fanned or flat pile, or fine-tune every detail
- Swiping runs on the UI thread, so it keeps up with your finger
Built with
- Reanimated
- Expo Blur
- Native ScrollView
Installation
1Install dependencies
2Run a development build (expo-blur is a native module)
Usage
The articles from the demo app: each card shows its author, title, image and summary.
How it works
A see-through, horizontal ScrollView on top reads the swipe, so flicks and snapping feel native. The cards sit in a layer underneath and move only by transforms, so they never lag a frame behind your finger. Each card's distance from the front picks its lift, size, tilt and blur, and tapping the front card eases it open to fill the carousel.
More once you own it
Examples, the full list of props and every advanced option for Stacked Card Carousel are here for owners.