Component packs › Upgrade › Photo editor
Drag a split between a real landscape and the Pro grade, which changes as it sweeps.
Photo editor 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: before and after split, colour grades, drag or keys.
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.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
currency | string | ||
photos | Record<string | ||
onSubscribe | (planId: string) => void |
destroy(): voidimport PhotoPaywall from './PhotoPaywall';
<PhotoPaywall />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Paywalls and subscription screens.