Scroll & Motion
Camera pulling focus. The image starts heavily blurred (filter 40px) with an ambient, poetic headline overlaid. As the reader scrolls, the blur lifts to zero and the image lands crisp. The opening headline fades out and a smaller, more concrete headline plus subtitle fade in near the bottom. Cinematic, restrained, deliberately smaller display type.
Live preview
No extra dependencies. React 18+ and Tailwind CSS v3+ assumed. Save as BlurToFocusHero.tsx.
Paste the prompt into the tool you already use. Each version is written specifically for that tool, matched to the same design constraints so the output stays consistent.
Build components/BlurToFocusHero.tsx as a client component. Fixed inset-0 canvas (z-10, bg-black) with a 250vh spacer below driving scroll. An absolute inset-0 image element animates two properties on each tick: filter blur(40 * (1 - p))px and transform scale(1.15 - 0.15 * p). An opening headline (26-48px font-medium tracking-tight white/95, text-shadow, centered max-w-[720px]) is visible while blurred and fades out 0.35 to 0.6. A closing content block near the bottom fades in 0.6 to 0.9 with a y-slide of 20 to 0: eyebrow (11px uppercase 0.08em white/85), headline (22-36px semibold white), subtitle (13-14px white/85 max-w-md). rAF plus lerp (0.1) driven by window.scrollY / spacer.offsetHeight. Font-sans, max font-semibold. Props: image, outOfFocusHeadline, inFocusEyebrow, inFocusHeadline, inFocusSubtitle. Single default export. No extra deps.
Scroll & Motion
Ken Burns Slow Pan Scroll Hero
Cinematic Ken Burns scroll hero for React, slow horizontal image pan with bottom-left headline. Editorial pacing.
Scroll & Motion
Parallax Storytelling Hero Section
Full-screen parallax hero section for React, cinematic image reveal on scroll with a single big headline per panel.
Scroll & Motion
3D Parallax Depth Hero Section
3D parallax depth hero for React, image layers recede on scroll while the headline scales up and pushes forward.
Copy the source file from the "Copy code" button and save it into your components folder. Add any listed dependencies (React 18 or later and Tailwind CSS v3 or later are always required, plus framer-motion or gradflow if the component lists them). Import and render the component wherever you want it. Every prop is optional and defaulted.
Yes. Every component takes props for its content (headline, subtitle, image URL, CTA, and so on) and uses Tailwind classes throughout, so you can restyle without touching the logic. For deeper design changes, paste the prompt into Claude Code, Cursor, Lovable, Replit, or Codex and describe your brand tokens, spacing, or motion tweaks.
Yes. Everything on this page is free to copy, adapt, and ship in commercial projects. No attribution required. If you post a public showcase we always appreciate a link back.
All five prompts produce the same design. Claude Code and Codex are best when you want the component slotted into a project with existing conventions. Cursor is ideal for editing inside your IDE with the file open. Lovable and Replit spin up a fresh preview fastest, useful for a quick play.
Yes. The source files are plain React 18 client components. They run on any framework that supports React 18 and Tailwind CSS v3. If a component needs the "use client" directive (all of them do here, since they use hooks), keep the directive at the top of the file when you paste.