Particle Nebula Onboarding with Paywall
A drifting blue particle cloud built from stateless line segments over a warped density field, a 12-hour dial with a draggable 45-minute band that snaps to 5 minutes, and a paywall with drifting prism light and a trial timeline.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "particle-nebula-onboarding-with-paywall" to this project. The full source is attached at the end of this prompt. Put the files under components/particle-nebula-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
- 20 Nov 2026
- License
- Unlimited commercial projects
- Original design
- @AmenaiSabuwala 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
The last three screens of an onboarding flow, shown side by side or one at a time. The first screen has a large area of drifting blue particle cloud at the top, with a vertical timeline of three orange embers that flash in turn from bottom to top, one keeping a steady halo. The second asks when to send a reminder: a round dial with a purple band from 10:30 to 11:15, sixty ticks and two white knobs. Dragging the dial changes the time in five-minute steps and a switch toggles. The third screen is a paywall with a slow prism-like glow behind a plan card, and tapping a plan card switches the selection. The ember loop repeats every 6.4 seconds.
How it's built
Visuals are drawn on a Skia canvas. The particle cloud and the paywall glow are SkSL runtime-effect fragment shaders written as procedural patterns, with uniforms updated through React Native Reanimated derived values, and the embers and connecting lines are drawn into the same shader. Rounded shapes, the dial band and icons are Skia paths made from SVG path strings. A shared JavaScript core holds layout tables, copy, dial geometry, ember timing and the shader source for both the web preview and the native component.
Good for
- Closing screens of an onboarding that ask for a notification time and then show a paywall
- Hero areas that need a living background without a video file
- Time-of-day pickers with a round dial
Dependencies
@shopify/react-native-skiareact-native-reanimatedreact-native