Component packs › Upgrade › Language

Language

A phrase card flips between Portuguese and English on a real Porto street, with a growing streak.

Language is a paywall from Upgrade, a component pack with 6 components: Honest paywalls for six kinds of app, where what you unlock is the hero. Price: $5 for the whole pack.

Built with: 3D phrase card, streak, lifetime plan.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Language props

PropTypeDefaultDescription
darkboolean
autoplayboolean
currencystring
photosRecord<string
onSubscribe(planId: string) => void

Methods on the ref

Use it in React

import LanguagePaywall from './LanguagePaywall';

<LanguagePaywall />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Upgrade

Good for: Paywalls and subscription screens.