Swipe Onboarding with Progressive Blur
Each page has a full-screen illustration that blurs progressively into a dark bottom area with a headline, caption, page-dot pill, Sign Up and Login. Dragging slides art and text together. ScrollView paging and MaskedView on React Native.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "swipe-onboarding-with-progressive-blur" to this project. The full source is attached at the end of this prompt. Put the files under components/swipe-onboarding-with-progressive-blur/, 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
- 11 Nov 2026
- License
- Unlimited commercial projects
- Original design
- @ayodeleee_ 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 three-page onboarding for an AI image app, each page a full-screen surreal illustration. A bold two-line headline and a two-line caption sit low on the page, with a logo at the top, a three-dot pager, a large white Sign Up button and an underlined Login link. Swiping sideways moves the artwork and text from page to page, while the logo, pager and buttons stay in place. The pager's active dot stretches into a pill that follows the drag position. The page also advances by itself every few seconds, and the lower part of the artwork blurs progressively under the text.
How it's built
Each illustration ships twice, sharp and pre-blurred, because the notes found a live blur view cannot match across platforms. A MaskedView with a linear gradient mixes the two layers, so the blur grows from the middle toward the bottom edge, and a dark gradient sits under the text. A shared JavaScript core defines layout, copy and a pure function that maps the continuous page position to pager dot widths and opacities. The React Native version uses a paging ScrollView, expo-linear-gradient and a custom title font through expo-font. The press states scale the button or fade the link.
Good for
- An onboarding carousel for a creative or AI app with full-bleed art
- Text that must stay readable over varied imagery
- A pager whose indicator tracks the drag continuously
Dependencies
@react-native-masked-view/masked-viewexpo-linear-gradientexpo-fontreact-native-svgreact-native