Holographic Card Unboxing Onboarding
A 26-second onboarding: tapping a leather box in a cave zooms in and lifts the lid, and a foil gold card rises, flips and lands in a spotlight. Chat-style questions type out, a time wheel rolls to 15 minutes, then the card shows HP, value and rarity. SkSL.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "holographic-card-unboxing-onboarding" to this project. The full source is attached at the end of this prompt. Put the files under components/holographic-card-unboxing-onboarding/, 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
- 15 Oct 2026
- License
- Unlimited commercial projects
- Original design
- @0xaditin 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 onboarding flow for a trading-card scanner that treats the card as the main character. A leather box sits on a rocky cave floor under a spotlight. Taps enlarge it, the lid flies off with a slight rotation, and a card rises from inside, grows and flips over. The card then shrinks to the top of the screen and a chat-style set of questions fills the page, with the newest block anchored at the bottom and older ones fading. A time-picker wheel, a summary page and a final home screen with a tab bar follow. At the end, tapping the card spins it, and a tab press switches to a binder view.
How it's built
Backgrounds, rock, box, light beams and the holographic card faces are SkSL shaders drawn through Skia, with the rock built from procedural height fields. A shared JavaScript module holds element tables and a pure function from time to frame values, including a perspective matrix for the card's turn. Text, icons and controls sit above the canvas using react-native-svg, expo-linear-gradient and a masked view for fades. The flow is a timeline of cuts bridged by short fades, with Pressable regions active once it ends. The card illustration is a bundled emoji-style image.
Good for
- A premium first-run flow for a collecting, scanning or marketplace app
- A reveal moment where a physical object is unboxed before a questionnaire
- A reference for a holographic card surface with a flip
Dependencies
@react-native-masked-view/masked-view@shopify/react-native-skiaexpo-linear-gradientreact-native-svgreact-native