Staggered Rise Onboarding with Paywall
A fitness flow runs from home through goal, level and duration pickers to a paywall. On each change the old content moves up and fades while new elements rise 72pt in a stagger with one exponential ease-out. Shared core for HTML and React Native.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "staggered-rise-onboarding-with-paywall" to this project. The full source is attached at the end of this prompt. Put the files under components/staggered-rise-onboarding-with-paywall/, 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
- 26 Oct 2026
- License
- Unlimited commercial projects
- Original design
- @SheikhRaih100 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 fitness-coaching flow that runs through six screens: a home screen with a weekly goal and challenge cards, a splash with a Get Started button, a goal picker, a fitness-level picker, a workout-length wheel and a trial paywall that returns to home. Every element on a screen enters from below in a staggered sequence, headers first and the main button last. Choosing a row fills it with a lime accent and flips its icon colors. On the length screen the wheel numbers grow and shrink with their distance from the selected value. Leaving a screen fades the button and background while the old content lifts away.
How it's built
A plain JavaScript core holds the timeline, the layout and the per-screen stagger offsets, and the React Native component turns the state at a given time into react-native-svg elements. Everything shares one ease-out curve, and a requestAnimationFrame loop advances the clock, so there is no Reanimated and no native module beyond SVG. Backgrounds are a base color with rotated radial-gradient ellipses, and the green ring logo uses layered strokes instead of a filter. Avatars and coach photos are bitmap images.
Good for
- A first-run onboarding that asks a few questions before a paywall
- Fitness, health or habit apps that want a branded trial offer at the end of setup
- Learning one shared entrance curve and stagger pattern across many screens
Dependencies
react-native-svgreact-native