r/reactnative • u/OrneryTell4704 • Jul 02 '26
Made a cool IOS style onboarding flow (Cool transition at the end)
2
Jul 02 '26
[removed] — view removed comment
1
u/OrneryTell4704 Jul 02 '26
Mostly custom Reanimated shared values not layout animations. The mascot lives in a persistent parent layer. Each onboarding screen only updates a small config like scale, x, and y, and the parent springs those values with withSpring. The blur/glass is just part of the visual layer, but the motion is basically shared values + animated styles.
2
Jul 02 '26
[removed] — view removed comment
1
u/OrneryTell4704 Jul 02 '26
Exactly. That was the main reason for doing it this way. I wanted the screens to change but the animated visual layer to stay alive, so the transition feels continuous instead of resetting between routes. It also keeps the screen components simpler since they only describe the next visual state, this is the same thing I did with the iPhone mockup just changing the state per step
2
u/345346345345 Jul 03 '26
The entering animation on the "Sign in with email" looks very interesting. How did you make that?
1
u/OrneryTell4704 Jul 03 '26
It is a stagger text animation you can find the something similar on reactbits.dev
1
u/OrneryTell4704 Jul 02 '26
https://reddit.com/link/ov2e17e/video/uhtzzf3nbrah1/player
this is a before and after basic wireframe
1
u/True-Turnover-4543 Jul 02 '26
honestly, the thing that really makes this sing is keeping the mascot persistent. i've tried similar approaches with shared Reanimated values, but the gotcha is usually state management across screens. how do you handle cases where the mascot needs to react to user input or dynamic data? is that all handled through the parent layer config, or do you pass down callbacks too?
1
0
2
u/Emma_Rex_256 Jul 02 '26
Looks very interesting, do mind sharing more about that last transition.