Skip to main content

← Blog

AI DesignPromptingTailwind

What should a prompt for AI website design include?

"Modern, clean, premium" gets you the default every time. A design prompt that works carries six things: a named direction, exact values, where each value goes, the effects tokens can't carry, rules for what not to touch, and a reference to check against.

2026-11-10 · 7 min read

A website design prompt needs a named direction, exact token values, where each value goes, the effects tokens can't carry, rules for what not to touch, and a reference to check the result against. Adjectives are not on that list. "Modern, clean, premium" is what every prompt already says, so the model answers it with what every site already looks like.

That fallback is the whole problem. Asked to design without specifics, a model reaches for the most common answer in its training data: the shadcn/Tailwind default kit, an indigo accent, one radius on everything. Those are the tells people name when they say a site looks AI-built. The fix the community keeps arriving at is to give the model a real reference instead of letting it guess. The six parts below are what a real reference looks like once it is written down. The examples come from the Neubrutalism entry in the Styles Gallery library, trimmed for length.

1. One named direction, in a sentence

Name the style, then say what it is made of, in the style's own terms rather than in mood words:

Neubrutalism: high contrast, hard black borders, bright pop colours, no blur, hard offset shadows, bold type. Raw, but functional.

The name gives the model a cluster of training examples to aim at. The sentence stops it from picking the blandest one in that cluster. If you cannot name the direction yet, pick a family first. A prompt cannot be more decided than its author.

2. Exact values, not adjectives

This is the part that does the work. Every value the model would otherwise invent goes in as a number:

:root {
  --background: #FFEB3B;
  --foreground: #000000;
  --primary: #FF5252;
  --secondary: #2196F3;
  --border: #000000;
  --radius: 0.5rem;
  --font-heading: "Lexend Mega", sans-serif;
  --font-body: "Public Sans", sans-serif;
}

Then say so explicitly: use these values, do not re-derive them. Without that line, a model treats a token list as inspiration and rounds it back towards what it knows.

3. Where each value goes

A token is only half an instruction. The other half is which element it lands on. In a shadcn build the semantic colours go in :root (and .dark) and the rest of the theme in Tailwind v4's @theme; in plain CSS, name the selector each value belongs to. A prompt that lists --border: #000000 without saying it is the card edge, the input outline and the nav rule gets a black border wherever the model happens to guess.

4. The effects tokens can't carry

Some of a style is not a variable. Neubrutalism's hard offset shadow (4px 4px 0 0 #000, no blur) and its 3px borders are the style. Swap the palette and keep the default soft shadow, and you have a yellow shadcn site. Write these out as their own short section, as CSS, and say they are the signature rather than decoration.

One rule from experience belongs here: the palette decides the hue, not the shape. Asked to recolour a style, a model's easiest move is to flatten every coloured shadow to grey and drop the layers that no longer match. For anything hand-drawn, such as the inner highlight and outer drop of claymorphism, that ratio is the style. Tell the model to re-hue those layers, not delete them.

5. Rules for what not to touch

Restyling and rebuilding are different jobs, and a model left to decide will do both. Two passes keep them apart:

  • The token pass: change values only. Do not restructure components.
  • The signature pass: here it may add wrapper elements, pseudo-elements, keyframes and decorative layers to the components that need them. That permission covers appearance only: no copy, no content, no data, no routing.

Scope the "do not restructure" rule to the first pass, or the model will read it as forbidding the second.

6. A reference to check against

Words describe a style and values specify one, but neither shows the model the result. Attach a picture of the target if your tool accepts images, or a small runnable HTML file of the style on a demo page. Then give the model a test it can apply to its own output: shrink both to thumbnail size side by side. If they do not read as the same family, the direction has not landed yet.

Before you send it: four checks for the default look

Styles Gallery rates each of its 83 styles by how far it sits from the default shadcn/Tailwind look, and the rating starts from four checks you can run on the values in your own prompt:

  1. The ground is not neutral. A page background with real colour in it, not white or a neutral grey.
  2. The corners go somewhere. Square (0.05rem or less) or properly round (1rem or more). The medium radius in between is the scaffold's. The Neubrutalism example above keeps a medium radius and still rates Far: three of the four is enough.
  3. The headings have a face. Not Inter, Geist, Roboto or another neutral sans of that kind.
  4. The type has a temper. At least one deliberate move: letter-spacing of 0.02em or more, a weight 200 or more away from the default, or display sizes pushed to 1.25× or beyond.

Three or four of the four puts a style in the library's Far band, two in Some, one or none in Near. Across the 83, that gives 27 Far, 23 Some and 33 Near. Fourteen styles were raised by hand on top of the checks, because the checks see shape but not culture: brutalism, Y2K, vaporwave and cyberpunk read as themselves even where a value or two looks ordinary. If your prompt's values pass none of the four, the model will build the default however good the rest of the prompt is.

Where this leaves you

Writing all six parts by hand is an afternoon. The quicker route is to choose the direction somewhere you can see it: the gallery renders all 83 styles as complete pages, and the Styles Gallery extension applies one to your own site, so you judge it on your nav and your cards. Its prompt export, part of Pro, then writes this prompt for the direction you tried, in this order, for Tailwind v4 + shadcn or plain CSS, with the reference file included.

Q: Can I just describe the style I want in words? A: You can, but adjectives get interpreted, and the interpretation drifts back to the default. Name the style, then give exact values for colour, radius, type and shadow, and say they are not to be re-derived.

Q: Should I include a screenshot or reference site? A: Yes, as a reference to check against, not as something to copy. Pair it with exact values: an image tells the model what the result should look like, and the values tell it how to get there.

Q: Does this work with Lovable, v0 or Claude Code? A: Yes. The prompt is plain text and CSS values, so any tool that takes a written prompt can use it. The token block just has to match the project's stack: Tailwind v4 with shadcn variables, or plain CSS on the page's own classes.

Keep reading