Gradient Paywall with Two Plan Cards
A static paywall layout: an orange-red radial gradient with film grain, a headline, a translucent card of three features, monthly and yearly plan cards with a Best value badge, and a blue trial button. No animation or selection state. Uses react-native-svg.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "gradient-paywall-two-plan-cards" to this project. The full source is attached at the end of this prompt. Put the files under components/gradient-paywall-two-plan-cards/, 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
- 24 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 dark subscription screen on a deep orange to near-black radial gradient with fine grain. A close button sits at the top, a premium pill and a title below it, and a list of feature rows with colorful gradient icons, such as app, brain, photos, cloud and tag icons, inside faint translucent cards. A hairline divider separates them from two plan cards, Monthly and Yearly, the yearly one carrying a best-value tag. A bright blue call-to-action button spans the width, with small muted legal text beneath it. A status bar and a Dynamic Island are drawn at the top.
How it's built
The screen is code-drawn from react-native-svg and plain views. The background is a single elliptical radial gradient with extra glow spots and a tiled grain texture, and the translucent cards are white overlays at fractions of a percent opacity. Icons are gradient-filled SVG shapes. Text uses the DM Sans family loaded through the expo-google-fonts package. The imports show no touch handlers or animation, so the screen reads as a static layout whose colors were measured from the reference.
Good for
- A premium upgrade screen listing benefits above a monthly and yearly choice
- A dark paywall with a single strong call-to-action
- A starting layout for a feature-list plus pricing sheet
Dependencies
@expo-google-fonts/dm-sansreact-native-svgreact-native