Build a landing page with Claude Code: the prompt and the workflow
A step-by-step Claude Code landing page workflow: the copy-first prompt, section order, design rules, and the review loop that stops it looking AI-generated.
TL;DR
- Claude Code can build a fast, responsive landing page in minutes. Left alone, it builds the same landing page everyone else's Claude builds.
- The workflow that fixes it: write the copy first, set design rules before the first prompt, build one section at a time, and review with screenshots.
- Copy-paste prompts for each step are below.
- Want the design part done for you? The Design System Pack gives Claude Code 11 finished landing page sections and a prompt for each.
What goes wrong with "build me a landing page"
Type "build me a landing page for my SaaS" into Claude Code and you'll get something like this: a centered hero with a gradient, a pill badge above the headline, "Supercharge your workflow" as the heading, three feature cards, a testimonials grid with five stars each, three pricing tiers with "Most popular" in the middle, and a footer.
It works. It's responsive. And it's the most likely landing page the model can produce, which means visitors have seen it many times before. (The eight patterns, and why every AI picks them.)
The fix is to stop asking Claude Code to make decisions it's bad at (copy and design direction) and use it for what it's great at (turning decisions into working code).
Step 1: Write the copy yourself, first
Copy is what converts. It's also where AI defaults are most obvious. Before opening Claude Code, write a plain text file:
# copy.md
## Hero
Headline: Invoices that chase themselves
Subhead: Send an invoice once. We follow up politely until it's paid.
Primary button: Start free
Secondary button: See how it works
## Problem
...
## How it works
1. Connect your invoicing tool
2. Pick a reminder tone
3. Get paid, stop chasing
## Pricing
Starter, $9/mo: up to 50 invoices
...
Every section of the page gets its copy here. If you can't write the headline for a section, the section probably shouldn't exist.
Step 2: Set design rules before the first prompt
Put a short design section in CLAUDE.md (Claude Code reads it every session), or point it to a rules file. At minimum:
## Design rules
- Fonts: one display font (weight 500 max), one body font. Never Inter 700.
- Colors: background, text, muted text, one accent. No gradients except one soft glow.
- No three equal feature cards. No pill badge above the hero headline.
- No five-star rows, avatar placeholders or invented logos.
- Generous spacing: 160px between sections on desktop.
- Use the copy in copy.md exactly. Do not rewrite, shorten or "improve" it.
That last line matters. Without it, Claude will helpfully rewrite your headline. (A full design system setup for Claude Code is here.)
Step 3: Plan the page, then build one section at a time
Start with a planning prompt, so you can catch problems before any code exists:
Read copy.md and the design rules in CLAUDE.md.
Propose the landing page structure: list each section, the layout you'll use
for it (not three equal cards), and which copy goes where. Don't write code yet.
Fix the plan. Then build in order:
Build only the navbar and hero, using the copy from copy.md exactly.
Follow the design rules. Stop when done so I can review.
Then the next section, and the next. One section per prompt feels slow, but long one-shot prompts are where the rules lose force. By the footer, the model is back to its defaults.
Step 4: Review with screenshots, not descriptions
After each section, take a screenshot and paste it into Claude Code:
Here's a screenshot of the hero. Compare it against the design rules in CLAUDE.md
and list every violation. Then check the copy matches copy.md word for word.
Claude is much better at spotting a generic pattern in an image than at avoiding it while writing code. Use that.
Also check on a real phone. Centered text that looks fine on a laptop often wraps badly on mobile.
Step 5: The final pass
When every section is built:
Review the whole page for consistency: spacing between sections, heading sizes,
button styles and colors. List anything that doesn't match the design rules
and fix it. Don't change any copy.
Then run Lighthouse on mobile, fix anything under 90 for performance, and ship.
Before you ship: a 60-second check
Score the page with the 15-point AI slop checklist. Anything above 4 means a few defaults slipped through; go back and fix those sections one at a time.
The part that takes the longest
Steps 1–5 give you a page that's yours in content and consistent in style. What they don't give you is the design itself: the palette, the type, how each section is laid out. Most people spend hours here, or skip it and end up with a cleaner version of the default.
Pack
The Design System Pack is the design part, done: 11 finished landing page sections (navbar, hero, social proof, how it works, use cases, benefits, testimonials, pricing, FAQ, final CTA, footer) as React components, with a prompt for each that tells Claude Code exactly how to fill it with your copy. A new-project prompt builds the page from scratch; a renovate prompt restyles an existing page one section at a time without touching your copy.
$19 one-time, unlimited projects, 14-day refund. Works in Claude Code, Cursor, Lovable, Bolt and v0.