Blog

The Lovable prompting guide for animated landing pages

How to brief Lovable so it builds a landing page with real motion: the five parts of a good brief, the order to build in, prompts you can copy, and fixes for the problems that come up most.

An empty glass chat bubble pouring coral and violet liquid that shapes itself into an animated landing page
In Lovable the chat is the editor: each message shapes the page, so order your prompts.

Why Lovable guesses at motion

Lovable is very good at turning a description into a working React page. Where it struggles is the part you did not describe. Ask for "a modern landing page with smooth animations" and it fills every gap with a safe default: a gradient hero, cards that fade up, a button with a glow. None of that is wrong, but it looks like every other page built the same way.

The fix is not a longer prompt full of adjectives. It is a brief that answers the questions Lovable would otherwise answer for you: what is on the first screen, what moves, when it moves, how long it takes and what happens when someone has asked their device for less motion. This guide shows how to write that brief and how to feed it to Lovable in an order it can follow.

The five parts of a brief that works

Every landing page prompt we write, for Lovable or any other tool, has the same five parts. Keep them in this order so the model reads the purpose before the details.

  • 1. What it is. One paragraph: the product, the audience and the feeling. "A handmade ceramics studio, warm and slow, like a quiet morning" tells Lovable more than "modern and clean".
  • 2. Visual direction in values. Name the colours as hex codes, the fonts by name and weight, and the shape language (rounded pills, sharp cards, hairline borders). Values stop the model from drifting back to its defaults.
  • 3. Sections in order. List each section with its job and its content: the headline text, the button labels, the three features. Real copy produces a real layout; placeholder copy produces a template.
  • 4. Motion in numbers. For each moving part, say what triggers it, how long it lasts and what easing it uses. "The headline rises 24px and fades in over 500ms with an ease-out curve, once, on load" is buildable. "Smooth entrance" is not.
  • 5. Rules and checks. Reduced motion, mobile layout, media loading, accessibility. Write them as a short checklist Lovable can verify against at the end.
A BuildMotions prompt open on the Lovable tab, showing a title, the brief, a Visual direction section with hex colours and fonts, and an Assets section with film and poster links
The Terra prompt on its Lovable tab: purpose first, then visual direction in exact values, then the media.

Build in passes, not in one message

A full landing page with motion is a lot to get right in one reply. Lovable does better when each message has one job. We use four passes and check the preview between each one.

Pass one is structure and content: every section, every word, the layout at desktop and phone widths, no animation yet. Pass two adds motion, one section at a time. Pass three is the hard edges: reduced motion, slow connections, keyboard focus, small screens. Pass four is polish, where you compare the result with your reference and list the differences.

Here is the pass-two message we would send for a hero after the layout is right. Notice that it names the element, the trigger, the values and the fallback, and that it tells Lovable what not to touch.

pass-2-hero-motion.md
Add motion to the hero only. Do not change the layout, copy or other sections.

1. On load, the headline rises 24px and fades in over 500ms, ease-out
   (cubic-bezier(0.22, 1, 0.36, 1)). The paragraph follows 120ms later,
   then the buttons 120ms after that. Play once.
2. The hero film shows its poster image immediately. Start the muted, looping
   video only when the hero is on screen, fade it in over 400ms when it can
   play, and keep the poster if it fails.
3. The "Shop the kiln" button lifts 2px on hover over 180ms. No glow.
4. If prefers-reduced-motion is set: no rise or fade, no video, poster only.

Animate only transform and opacity. When done, list each animation with its
duration so I can check it.

Give it your media, not a description of media

Motion pages live or die on their media. If you describe an image, Lovable will either use a placeholder or generate something generic. Upload the files you want, or give it public URLs, and say exactly how each one is used: which is the poster, which is the film, its aspect ratio and where it sits.

Ask for the poster to load first with a fixed aspect ratio so nothing jumps while the film loads. That single instruction prevents most layout shift on animated pages, and it is the difference between a page that feels expensive and one that feels like it is still loading.

Terra and Tide ceramics hero with a large serif headline, an arched frame holding a still life of a bowl and cup, a product card with Add to basket and a green marquee along the bottom
Terra: the arched film frame keeps its shape before the video loads, and the hotspots open product cards.

Fixes for the problems that come up most

These are the issues we see most often when a Lovable build is close but not right, with the message that usually fixes each one.

  • Sections re-animate every time you scroll back. Send: "Each reveal plays once per page load. Unobserve the element after it has animated."
  • Everything moves at once. Send: "Stagger the children by 80 to 120ms and keep the total under 700ms."
  • The page jumps while images load. Send: "Give every image and video a fixed aspect ratio and a poster, so the layout is final before media arrives."
  • The motion feels cheap. It is usually the easing. Send: "Replace ease and ease-in-out with cubic-bezier(0.22, 1, 0.36, 1) for entrances, and keep hover transitions at 180ms."
  • Mobile is a squashed desktop. Send: "Below 820px, recompose the hero: film above the headline, buttons full width, no side-by-side columns."
  • It ignores reduced motion. Send: "Add a prefers-reduced-motion rule that removes every non-essential animation and shows the poster instead of the film. Show me the rule."

Adapting a prompt written for another stack

Lovable builds React projects styled with Tailwind CSS. Many good briefs, including ours, describe a Next.js project with CSS Modules. You do not need to rewrite them. Paste the brief and add one line at the top: "Build this in this project's stack (React and Tailwind). Keep every value in the brief: colours, sizes, timings and easings." The values carry over exactly; only the file structure changes.

The same goes for interactive parts like a pricing slider. Describe the behaviour and the numbers, and let Lovable choose the component. In the Ledgerline pricing section, the brief says how the slider maps team size to a plan, not which library to use, which is why it rebuilds cleanly in any tool.

Ledgerline pricing section with a monthly and yearly toggle, a team-size slider and three plan cards, one marked recommended
Ledgerline: the brief describes behaviour and numbers, so any tool can rebuild it.

Start from a brief that is already written

Writing a brief this detailed takes time, which is the reason BuildMotions exists. Every template has a live preview and a prompt with a Lovable version, written in the five parts above with the media links included. Three are free with the full prompt, so you can try the workflow today: the Terra ceramics hero, the Ledgerline pricing section and the Larkspur full website.

For more starting points, browse the templates with Lovable prompts, or see the plans, from $9 a month, which unlock every prompt and the source code.

Questions

How do I write a good prompt for Lovable?
Give it five things in order: what the product is and how it should feel, the visual direction as exact values, every section with its real copy, the motion in numbers (trigger, duration, easing), and a short checklist for reduced motion, mobile and media loading.
Should I give Lovable the whole landing page in one prompt?
You can paste the whole brief so it knows the goal, but ask it to build in passes: layout and content first, then motion one section at a time, then reduced motion and mobile, then polish. Check the preview between passes.
Can Lovable build scroll animations and video heroes?
Yes, when the brief is specific. Say what triggers each animation, how long it lasts, that video starts only on screen with a poster first, and what happens under reduced motion. See the Terra hero prompt for a worked example.
Do BuildMotions prompts work in Lovable?
Yes. Every template prompt has a Lovable version. The prompts describe a Next.js build, so add one line asking Lovable to use its own stack and keep every value; the design and motion carry over.

Ready to build? Browse the template library, copy a prompt, or compare the plans.