Now In Code
Get access

Marquee Photo Quiz Onboarding Flow

Two tilted rows of photo cards scroll in opposite directions, then the flow moves through quiz pages, welcome, name entry, journey cards and a date strip. Transitions use staggered slides and cross-fades over six procedural glows.

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

Agent prompt

Add the Now In Code component "marquee-photo-quiz-onboarding-flow" to this project.

The full source is attached at the end of this prompt. Put the files under components/marquee-photo-quiz-onboarding-flow/, 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
23 Oct 2026
License
Unlimited commercial projects
Original design
@statistics1012 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

An eleven-step onboarding flow for a cycle-tracking app, drawn inside a phone frame. It opens with two rows of tilted photo cards drifting in opposite directions while short lines of copy cross-fade in the middle; the rows part, then slide away. A welcome screen follows, then single-choice questions where the tapped option turns amber before the screen leaves. Later steps include a rhythm screen, a screen for entering a name with the real system keyboard, a dark journey screen where six cards rise in turn, and a date picker with tiles that gain an amber outline when chosen. The primary button dims until a choice is made. Pressing a button spreads a pale circle across it.

How it's built

A shared JavaScript core holds a state machine of timestamped actions and timers, analytic animation formulas, a flat display list and hit testing. The React Native component renders that list with react-native-svg and loads its serif and sans fonts through expo-font. The name step uses a real TextInput so the system keyboard appears. Backgrounds are soft light fields built from radial gradients rather than images, and screen transitions use fitted cubic-bezier curves. A requestAnimationFrame loop advances time, and demo and scene-jump modes exist for the web preview.

Good for

  • A quiz-style onboarding that personalises an app before sign-up
  • Health, habit or wellbeing apps that ask a few single-choice questions
  • A branded first-run sequence with a photo marquee as the hook

Dependencies

react-native-svgexpo-fontreact-native

Tags

AvatarBadgeButtonCalendarCardCompanion and WellbeingCrossfadeDragEditorial LayoutEducation and LearningExpand and CollapseFly In / Fly OutGradientHealth and FitnessHome ScreenIconLight ModeListLoading AnimationBrand and MarketingMinimalMorphingOnboardingParallaxColorful and PlayfulPress FeedbackProductivity and HabitsProgress BarScreen TransitionScroll-DrivenSign In / Sign UpSocialStaggered EntranceSwipe GestureText Input

Related