Now In Code
Get access

Animated 3D Hero Onboarding

Each onboarding page opens on a looping 3D scene: chess pieces tumbling past a glowing king, an iridescent glass butterfly, or a key flying into a golden lock. One layout and a variant prop switch scenes in both the HTML preview and the React Native component.

Inspired by a design by @Onimicee_Design on XRebuilt from scratch by Now In Code

Agent prompt

Add the Now In Code component "animated-3d-hero-onboarding" to this project.

The full source is attached at the end of this prompt. Put the files under components/animated-3d-hero-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 ===
Pro piece. The prompt includes the full source.Get access

Details

Platforms
iOS, Android
Requires
Expo SDK 54+
Access
Pro
Updated
24 Nov 2026
License
Unlimited commercial projects
Original design
@Onimicee_Design on X

Are you the designer? Ask us to change or remove this.

CLI and MCP server Coming soon

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 finance onboarding screen that comes in three variants with identical layout. Only the 3D subject at the top and the headline change. One variant shows a glowing white chess king while black glossy pieces tumble through and stack. A second shows an iridescent glass butterfly beating its wings in a loop. The third has an antique key flying in from the upper right, a golden keyhole lighting up behind its teeth, and the key turning and sliding in as a halo grows. Below the 3D area a two-line headline, a short sentence and a white pill button with an arrow fade in. Headline words arrive one after another with a small rise and blur, and the button pops in with a slight overshoot.

How it's built

The 3D layer is three.js running in an expo-gl GLView, with each hero built procedurally in its own scene module and one shared core for the intro timeline. Three is imported from its ES source path because the CommonJS entry expects Node APIs. The headline reveal, status bar and button use react-native-svg and ordinary views, and a requestAnimationFrame loop drives time. A prop selects the variant. A gradient mask fades the 3D area into the black screen near the bottom.

Good for

  • A finance, wallet or banking first-run screen with a hero object
  • Onboarding pages that swap one 3D subject per slide
  • A reference for running three.js scenes under Expo

Dependencies

threeexpo-glexpo-fontreact-native-svgreact-native

Tags

3D Object3D RotationDark ModeOnboardingProductivity and HabitsScreen TransitionSkeuomorphic 3DStaggered Entrance

Related