Draggable Card Sphere and Fisheye Card Wall
Variant one lays 44 object cards on a sphere you drag with inertia; tapping a card brings it to the center with details. Variant two is an endless wall of staggered tall cards under a convex lens map, magnified in the middle, dimmed and blurred at the edges.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "draggable-card-sphere-and-fisheye-card" to this project. The full source is attached at the end of this prompt. Put the files under components/draggable-card-sphere-and-fisheye-card/, 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
- 17 Nov 2026
- License
- Unlimited commercial projects
- Original design
- @atlasformac 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 welcome page with a three-line headline, one line of supporting text and a grey pill button, above an interactive image gallery. In the sphere variant, 44 rounded cards sit on a sphere and always face forward, with the back ones dimmed behind the gaps. One finger spins it freely and it keeps momentum on release. Tapping a card springs it to the centre as a detail card at its own aspect ratio, three caption lines fade in and the others scatter and fade. Tapping again sends it back and the sphere reforms from its centre. The lens variant is an endless staggered wall of tall cards mapped through a convex lens, so the centre is large and sharp and the edges squash, dim and blur.
How it's built
There are no native modules beyond the React Native core: plain Views, Images, Text and Pressable with PanResponder for dragging. A shared core projects the cards and computes transforms each frame from a requestAnimationFrame loop. React Native cannot blur a View, so blur is faked by cross-fading between two pre-blurred image sprites according to how blurred a card should be. Text alignment switches between left for tall screens and centered for wide ones.
Good for
- A welcome or onboarding page that shows saved items before sign-up
- A gallery or inspiration board with a tap-to-expand detail view
- A product or portfolio browser built without native dependencies
Dependencies
react-native