designing-without-figma-making-claude-code-a-better-designer.md

Designing Without Figma: Making Claude Code a Better Designer

Ask Claude Code to “build a landing page” with nothing else to go on and you’ll get the landing page everyone has seen a hundred times. Centred hero, a gradient, three feature cards, and a pile of raw Tailwind divs. It works. It also has no taste, because nothing in its setup gave it any.

The usual answer is to design in Figma first and have the model translate the mockup. I think that’s backwards. Claude Code is at its best working directly in code, so give it decent building blocks to start from and a way to see what it rendered.

Below is the non-Figma stack I’d set up, with install commands, then a workflow for taking a new design from nothing to finished. There are three pieces: component registries so Claude isn’t writing every button from scratch, design skills for exploring and critiquing, and a browser loop so it can look at its own output.

1. Component MCP Servers

Left alone, Claude writes every component from first principles, and that’s where the generic look comes from. It’s averaging every button it has ever seen. Point it at a real component registry and it pulls in components that are already polished and use current props.

21st.dev MCP

21st.dev has thousands of animated React/Tailwind components: hero sections, pricing tables, feature grids, testimonials, even SVG logos. You describe what you want, Claude searches the registry, and a real component lands in your repo.

Create an API key at 21st.dev/mcp, then generate the Claude Code config from your project directory:

npx @21st-dev/cli@latest init --client claude --write

Without --write the CLI just prints the config for you to paste in. Either way, swap your key in for the placeholder and restart Claude Code. Searching is free. Pulling full component code and AI generation count against your plan.

I’d use it for marketing pages, where looking premium matters more than matching an existing design system.

Official shadcn/ui MCP

The shadcn/ui MCP server lets Claude browse and install official shadcn components and full blocks like dashboards, auth screens and sidebars. The real win is accuracy. Claude reads the current registry instead of remembering an older version, so you’re not debugging a variant that was renamed two releases ago.

npx shadcn@latest mcp init --client claude

This is the one for application UI: dashboards, settings pages, forms. You get an accessible component set that you own and can theme.

2. Design Skills

Components cover the building blocks. Taste is a separate problem: trying options, picking the better one, and tightening the details.

Built-in /design (Claude Design)

Type /design in Claude Code, give it a brief, and you get a canvas of editable UI artboards in the same editor as Claude Design. You see several variations side by side (light vs. dark, or three different landing-page concepts) instead of whatever Claude thought of first. Tweak them on the canvas, then tell Claude to build the one you like in your stack. If you already have a design system in code, /design-sync pulls it in so the artboards use your real components.

It’s a research preview at the moment and needs a paid plan (Pro, Max, Team or Enterprise).

Honestly, comparing options before committing was most of what I used Figma for anyway.

Impeccable

Impeccable adds 23 design commands, all under /impeccable <command>. The ones worth starting with:

  • /impeccable critique reviews hierarchy, clarity and layout, and lists concrete issues.
  • /impeccable audit checks accessibility, performance and responsive behaviour.
  • /impeccable polish is the last pass on typography, spacing and alignment before you ship.
  • typeset, layout, colorize, and bolder / quieter each fix one aspect of the design.

/impeccable live lets you iterate on elements directly in the browser rather than describing pixel nudges in chat. Run /impeccable init first to set it up.

Install it from your project root:

npx impeccable skills install

Or as a Claude Code plugin:

/plugin marketplace add pbakaus/impeccable

/remix

/remix comes from Builder.io’s agent-native repo. Point it at an effect on a site you like, say a scroll animation or an interactive hero, and it rebuilds that effect in your codebase. It writes a behaviour spec first, then implements it with original code rather than copying the source. It also restyles the effect to your brand and exposes the tuning knobs as props or CSS custom properties. /remix explain tells you how an effect works without building it.

It’s for effects and interactions, not page layout. If you want to study a reference site’s type scale or grid, have Claude look at it directly with Playwright (below). Builder.io’s write-up goes into more detail on this and the next one.

Emil Kowalski’s Motion Skills

For when the layout looks clean but everything moves like it’s 2012. Emil Kowalski’s skills pack is based on his animations.dev course. It teaches Claude proper easing, spring physics and animation timing. Without it you get transition: all 0.3s ease on everything. With it, a menu springs open from its trigger and a new list item settles into place.

npx skills@latest add emilkowalski/skills

There are about 19 skills in the pack. Start with emil-design-eng for the core guidance and animate for building a single animation properly. review-animations gives your motion code a strict review, and improve-animations audits a whole codebase.

3. Playwright MCP: Giving Claude Eyes

If you only install one thing from this post, make it this one. Without a mockup to compare against, the only source of truth is the rendered page, and by default Claude never sees it. It writes CSS, assumes it looks right, and moves on.

Playwright MCP lets Claude start your dev server, open the page, click through states like menus, errors and empty views, take desktop and mobile screenshots, and fix what it finds.

claude mcp add playwright -- npx -y @playwright/mcp@latest

Then give it a visual acceptance test:

“Start the local dev server, take screenshots at 1440px and 390px using Playwright, inspect them for alignment or hierarchy issues, and fix anything that looks off.”

That single prompt catches a surprising amount: text overflowing on mobile, columns out of line, buttons wrapping, labels you can barely read.

The Short Version

For tweaking a page that already exists, the loop is short. Pull blocks from shadcn or 21st.dev (“Use 21st to add a dark-mode SaaS pricing grid and hero section”), tighten them with /impeccable polish or try alternatives in /design, then have Claude screenshot the result at desktop and mobile widths and fix what it sees.

A brand-new design needs more structure than that.

Workflow: Creating a New Design

The biggest mistake is letting Claude start building straight away. Whatever it builds first quietly becomes the design. This is the order I’d follow instead.

Step 1: Write a design brief before any code

Create a DESIGN.md in the repo root and reference it from CLAUDE.md. Keep it short. It’s a set of rules, not a spec:

# DESIGN.md

## Product & audience
B2B analytics dashboard for finance teams. Users are in it all day: favour density and clarity over flair.

## Personality
Calm, precise, trustworthy. Not playful. No gradients, no glassmorphism.

## Constraints
- Framework: Next.js + Tailwind + shadcn/ui
- Must support light and dark mode
- WCAG AA contrast minimum
- Breakpoints we test: 1440px, 1024px, 390px

## References
- linear.app (density, keyboard-first feel)
- stripe.com/docs (typography, information hierarchy)

Now every later step has something to be judged against. Claude can’t do much with “does this look good?” It can answer “is this calm and dense enough for someone who’s in it all day?”

Step 2: Study your references

Have Claude open the sites in your references list with Playwright and pull out patterns:

“Open linear.app with Playwright. Summarise its type scale, spacing rhythm, and navigation structure into a short list of patterns. Don’t generate any components yet.”

Put the useful bits into DESIGN.md. If a site has an effect you want, like a scroll reveal, note it for /remix later.

Step 3: Explore directions with /design

Ask for three distinct directions for your most important screen, usually the home page or main dashboard:

“Using DESIGN.md, create three visually distinct directions for the main dashboard screen in /design. Vary density, colour use, and navigation placement.”

Pick one, or combine pieces of two, and pull it back into code. This step is why you don’t need Figma. You’re choosing from real options instead of accepting the first one.

Step 4: Lock in design tokens

Before building more screens, turn the chosen direction into tokens (colours, type scale, spacing, radii, shadows) as CSS variables or in your Tailwind theme:

“Extract the colours, type sizes, spacing, and radii from the chosen direction into CSS variables in globals.css and document them in DESIGN.md. Replace any hard-coded values with the tokens.”

I’d argue this does more for consistency than every other step combined. Every screen after this draws from the same small set of values.

Step 5: Build the remaining screens from the registries

With tokens in place, build the rest from shadcn or 21st.dev components:

“Using shadcn, build the settings page and the transactions table. Use only the tokens in DESIGN.md. No new colours or font sizes.”

Registry components plus shared tokens means new screens match the first one without much effort.

Step 6: Add motion deliberately

Use the motion skills where movement explains something: navigation, panels opening and closing, list changes, feedback on actions. This is also when to /remix the effects you noted earlier.

“Add motion only where it explains a state change: the sidebar collapse, dialog open/close, and new rows appearing in the table. Use spring physics and respect prefers-reduced-motion.”

Step 7: Run the visual QA loop

Let Claude check its own work against the brief:

“Start the dev server. For each page, take screenshots at 1440px, 1024px and 390px in both light and dark mode. Check them against DESIGN.md for alignment, hierarchy, contrast and overflow. List the issues, fix them, and re-screenshot to confirm.”

Repeat until it comes back clean. Don’t just test the default view. Empty tables, error messages, loading skeletons and very long names are where layouts break.

Step 8: Critique, polish, and write down what you learned

Finish with a review pass:

/impeccable critique
/impeccable polish
/impeccable audit

Fix what’s worth fixing, and add any new rules to DESIGN.md, for example “table rows are 40px, never taller”. The next screen starts from a better brief.

Optional: a visual-critic agent

If you do this a lot, move step 7 into a sub-agent at .claude/agents/visual-critic.md whose only job is to screenshot pages and report problems against DESIGN.md. The screenshots stay in its context instead of filling up yours, and you just get the list of problems back.

Claude Code can do decent design work. Out of the box it just has nothing to build from, no brief to follow and no way to see the result. Write the brief first, and let it look at its own screenshots before you do.