Mobile Paywall

A phone paywall selects a plan and shows a Welcome to Pro confirmation. A free, MIT-licensed Remotion product scene.

Installation
$ pnpm dlx shadcn@latest add @remocn/mobile-paywall

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { MobilePaywall } from "@/components/remocn/mobile-paywall";
 
const MobilePaywallScene = () => <MobilePaywall appName="Orbit Pro" title="Unlock every feature" cta="Start free for 7 days" theme="dark" />;
 
export const RemotionRoot = () => (
  <Composition
    id="MobilePaywall"
    component={MobilePaywallScene}
    durationInFrames={500}
    fps={60}
    width={1280}
    height={720}
  />
);

A phone slides in and a paywall sheet lists features and two plans. The second plan starts selected, the first is tapped, the CTA is double-clicked to pay, and a Welcome confirmation lists the trial dates. Pass appName, title, features, plans and lines (the headline beside the phone) to make it yours. It has a theme prop and ships light and dark.

The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.

Props22

PropTypeDefault
appName
string"remocn Pro"

Product name shown in the paywall and welcome screen.

title
string"Ship launch videos in minutes"

Headline at the top of the paywall.

features
PaywallFeature[]DEFAULT_FEATURES

Feature rows, each with `title`, `description` and optional `icon`.

plans
[PaywallPlan, PaywallPlan]DEFAULT_PLANS

Two plans: the first is the one that gets tapped, the second starts selected.

cta
string"Start free for 7 days"

Label on the main purchase button.

account
string"maya@kitebase.dev"

Account email shown on the confirmation.

dates
[string, string, string]["Nov 2", "Nov 7", "Nov 9"]

Trial dates on the confirmation: start, reminder, first charge.

lines
[string, string, string]—

Three lines beside the phone: paywall, confirm, welcome.

welcomeTitle
string"Welcome to Pro"

Heading on the welcome screen after the purchase.

welcomeSub
string"Your free week starts now. Here’s how it works."

Line under the welcome heading.

welcomeCta
string"Start creating"

Button on the welcome screen.

accent
string"#3B5BFD"

Accent color for selection, buttons and badges.

ink
string—

Text color; overrides the theme ink.

background
string—

Solid fill in place of the gradient ground; pass "transparent" to drop it.

fontFamily
string"Figtree"

Typeface for the copy. Load the font in your project first.

logo
React.ReactNode—

Replaces the remocn mark.

scale
number1

Size of the foreground around the frame's center; the background stays put.

delay
number0

Frames to hold the first frame before anything moves.

speed
number1

Playback speed multiplier.

theme
"light" | "dark""light"

Light or dark palette.

ground
GshPresetId—

Gradients.sh preset id for the background shader.

groundParams
Partial<GradientParams>—

Overrides for the background shader parameters.

  • appNamestring

    Product name shown in the paywall and welcome screen.

    Default"remocn Pro"

  • titlestring

    Headline at the top of the paywall.

    Default"Ship launch videos in minutes"

  • featuresPaywallFeature[]

    Feature rows, each with `title`, `description` and optional `icon`.

    DefaultDEFAULT_FEATURES

  • plans[PaywallPlan, PaywallPlan]

    Two plans: the first is the one that gets tapped, the second starts selected.

    DefaultDEFAULT_PLANS

  • ctastring

    Label on the main purchase button.

    Default"Start free for 7 days"

  • accountstring

    Account email shown on the confirmation.

    Default"maya@kitebase.dev"

  • dates[string, string, string]

    Trial dates on the confirmation: start, reminder, first charge.

    Default["Nov 2", "Nov 7", "Nov 9"]

  • lines[string, string, string]

    Three lines beside the phone: paywall, confirm, welcome.

  • welcomeTitlestring

    Heading on the welcome screen after the purchase.

    Default"Welcome to Pro"

  • welcomeSubstring

    Line under the welcome heading.

    Default"Your free week starts now. Here’s how it works."

  • welcomeCtastring

    Button on the welcome screen.

    Default"Start creating"

  • accentstring

    Accent color for selection, buttons and badges.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Solid fill in place of the gradient ground; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. Load the font in your project first.

    Default"Figtree"

  • logoReact.ReactNode

    Replaces the remocn mark.

  • scalenumber

    Size of the foreground around the frame's center; the background stays put.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • speednumber

    Playback speed multiplier.

    Default1

  • theme"light" | "dark"

    Light or dark palette.

    Default"light"

  • groundGshPresetId

    Gradients.sh preset id for the background shader.

  • groundParamsPartial<GradientParams>

    Overrides for the background shader parameters.