Why most hero prompts produce generic results

Ask an AI tool for "a modern animated hero section with Framer Motion" and you will get the same page everyone else gets: a gradient blob, a headline that fades up, two buttons, and a staggered row of logos. It is not the tool's fault. The prompt gave it nothing specific, so it reached for the average of everything it has seen.

Three gaps cause most of the trouble. The verbs are vague ("animate", "make it dynamic") instead of describing what moves, from where, and for how long. There is no timing, so every element arrives at once or in a mechanical stagger. And there is no fallback, so the hero breaks for people who prefer reduced motion and stutters on slower phones.

A good hero prompt reads more like a short brief to a motion designer than a wish. The rest of this guide shows what that brief contains.

Anatomy of a strong hero prompt

Every reliable hero prompt covers six things, in this order.

  • Layout: what sits where at desktop and at 390px, including the max width of the headline and how the media is cropped.
  • Type scale: font families, sizes for the headline and subline at each breakpoint, line height and letter spacing. "Large" is not a size; "clamp(44px, 7vw, 96px)" is.
  • Motion beats: a numbered list of what happens and when. For example: 0 ms film starts muted; 200 ms headline lines rise 24px and fade in over 700 ms with an ease-out; 900 ms buttons fade in; on scroll, the film scales from 1 to 1.08 over the first 600px.
  • Media: the file, its aspect ratio, a poster image, and what to show if the video fails or the visitor is saving data.
  • States: hover and focus styles for the buttons, what the navigation does over the film, and how the hero behaves after the first scroll.
  • Acceptance checks: concrete tests the tool must pass, such as "no horizontal scroll at 390px", "headline stays within two lines on mobile", "with prefers-reduced-motion the film is replaced by the poster and nothing moves".

Three worked examples

Cinematic video hero. The film is the hero; type sits on top. The prompt needs the film's mood and framing, a dark overlay gradient strong enough for white text in every frame, a short entrance for the headline, and a poster for the first paint. Lumen and Emberfall are built this way, and their prompts describe exactly how the overlay and timing work.

Scroll-scrubbed hero. Here the visitor drives the motion: as they scroll, the scene advances, zooms or splits into layers. The prompt must say how many pixels of scroll the hero takes, whether it pins, which properties are tied to scroll progress, and what happens on touch devices. Tempra shows a scroll-led hero, and Otto pairs a film with playful motion that responds to the page.

WebGL hero. A real-time scene, such as a shader or a 3D object, sits behind or around the copy. The prompt should describe the scene, the colours, how it reacts to the cursor, a frame-rate budget, and a static fallback image for devices without WebGL. Animated backgrounds such as Quicksilver and Caustics make good WebGL hero backdrops, and you can browse more in hero animation prompts.

Framer Motion, CSS or GSAP: what to ask for

You do not have to pick a library in every prompt, but naming one gives the tool a clear path. A simple rule of thumb works well.

  • CSS transitions and keyframes: entrance fades, hover states and simple loops. They are the lightest option and need no JavaScript, so ask for them whenever the motion is not tied to scroll position or user input.
  • Framer Motion (now published as Motion for React): component-level animation in React apps, layout transitions, gestures, and scroll-linked values with useScroll and useTransform. It is a natural fit for Next.js projects and reads cleanly in generated code.
  • GSAP with ScrollTrigger: long, pinned, timeline-driven scroll stories with many steps. When a hero becomes a sequence of scenes, GSAP's timelines are easier to keep in sync.

Reduced motion and performance lines every hero prompt needs

Add these lines to every hero prompt, whatever the style. They are short, and they prevent the most common failures.

  • "Respect prefers-reduced-motion: replace the film with its poster, disable scroll-linked transforms, keep only opacity changes under 200 ms."
  • "Animate only transform and opacity. Do not animate width, height, top or left."
  • "Give the video muted, playsInline, a poster, and preload metadata; do not autoplay on save-data connections."
  • "The headline must be real text, rendered on the server, and visible before any script runs."
  • "No layout shift: reserve the media's aspect ratio before it loads."

A copy-ready prompt skeleton

Use this structure as a starting point and fill in your own details. It is deliberately a skeleton: the value is in the specific numbers and descriptions you add.

  • Role: "You are a senior front-end engineer building a hero section in Next.js with [Framer Motion / CSS / GSAP]."
  • Goal: one sentence on what the hero must make the visitor feel or do.
  • Layout: desktop and 390px descriptions, max widths, media crop.
  • Typography: families, sizes with clamp(), weights, line heights.
  • Motion beats: numbered list with times in milliseconds, distances in pixels and easing names.
  • Media: files, aspect ratios, posters, fallbacks.
  • States: buttons, navigation, focus.
  • Accessibility and performance: the five lines above.
  • Acceptance checks: five to eight testable statements the tool must confirm before it finishes.

A full motion-beat list, worked through

Here is what a complete motion section looks like for a cinematic video hero, written the way you would put it in a prompt. Notice that every line has a number in it.

Read it top to bottom and you can picture the first two seconds of the page without seeing it. That is the test: if a human motion designer could storyboard the hero from your prompt, the AI tool can build it.

  • 0 ms: the poster image is visible; the film starts muted as soon as it can play, crossfading over the poster in 400 ms.
  • 150 ms: the eyebrow label fades in from 0 to 1 opacity over 300 ms.
  • 250 ms: headline line one rises 28px and fades in over 700 ms with cubic-bezier(0.16, 1, 0.3, 1); line two follows 90 ms later.
  • 800 ms: the subline fades in over 400 ms.
  • 1000 ms: primary and secondary buttons fade in together over 300 ms; the primary button lifts 2px and brightens on hover over 150 ms.
  • On scroll: over the first 600px the film scales from 1 to 1.06 and the copy moves up 40px at 0.4x scroll speed; the overlay darkens from 55 to 75 percent.
  • Reduced motion: no scaling or parallax; the film is replaced by the poster; text appears without movement.

When a hero feels off: quick diagnoses

If the result technically matches your prompt but still feels wrong, the cause is usually one of these.

  • It feels slow: the total entrance takes more than 1.2 seconds. Shorten durations and overlap the beats.
  • It feels cheap: linear or default easing. Ask for a strong ease-out curve on entrances.
  • It feels busy: too many elements travel. Keep the media and one text block moving; let the rest appear in place.
  • It feels jumpy: layout shifts as fonts or media load. Reserve space for media and preload the headline font.

Skip the blank page

Writing a brief like this from scratch takes an hour or two. Every hero in the BuildMotions library comes with a finished prompt in this structure, tested against the live design, with versions for Claude Code, Codex, Antigravity, Cursor, Lovable and v0. Browse the hero section templates, read a few prompt pages to see the level of detail, and see the plans when you want the full prompts.