Family Care Onboarding with Paywall
Five screens advance on a timer with staggered fade-up entrances: a welcome page, a medication label whose details appear row by row, three family cards that drop in on a thread, a quiz, and a pricing page with confetti. react-native-svg; shared timeline.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "family-care-onboarding-paywall" to this project. The full source is attached at the end of this prompt. Put the files under components/family-care-onboarding-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
- 27 Sep 2026
- License
- Unlimited commercial projects
- Original design
- 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 five-screen onboarding for a family health app in a soft light theme, with a pink-to-coral sky gradient, clouds and cards in white. Each screen has a bold headline, a muted subtitle, a rounded dark gradient button near the bottom and its own entrance sequence, in which elements appear one after another and cards stack in. Screens cross-fade into each other. The flow includes a selection screen with colored icon rows and checkboxes, a screen with a pin and a connecting thread, and a final plan screen with a free-trial label, a saving tag and feature rows. A start-screen prop jumps to any step.
How it's built
The artwork is drawn with react-native-svg: sky, clouds, a needle-style dial, pins, threads, icons and cards are all vector shapes, with a large number of SVG elements across the five screens. A shared pure frame module holds each screen's entrance timeline, so web and native give equal values at any time. The component keeps an index state, mounts all five screens and lets each consume its own timeline, which is advanced on a requestAnimationFrame loop. Colors are a sampled palette defined in the component.
Good for
- A multi-step onboarding that ends in a subscription offer
- A first-run flow with staged element entrances on each page
- A soft, light paywall with a trial label and a savings tag
Dependencies
react-native-svgreact-native