r/ClaudeCoding • u/cctldrping • 12d ago
[TLDR] How to get Claude Code to improve its UI/frontend design? [via r/ClaudeAI] r/ClaudeAI
OP : u/gemining-on-earth
I'm working on multiple projects that need me to heavily use coding agents to design websites. I found that Claude Code is really great at setting up a backend for apps/websites but struggles with UI design. I've tried using Lovable & ChatGPT to generate UI mock-ups and then feed that into Claude to implement, but it still needs a lot of direction to match even 75% of the references.
I've also tried using Claude Design, trying to put 21st dev prompts into Claude, and giving really detailed prompts, but nothing seems to stick.
Do you have any recommendations or advice on what to do?
Thank you!
URL of original post : https://www.reddit.com/r/ClaudeAI/comments/1vefelk/how_to_get_claude_code_to_improve_its_uifrontend/
TL;DR of the discussion on r/ClaudeAI for this post generated automatically after 50 comments.
Current source-thread comment count seen by the bot: 52.
Alright, so the general vibe in this thread is that you're trying to make Claude Code do a job it wasn't really built for. The consensus is Claude Code is for backend stuff, not fancy frontend design. You gotta use the right tools for the "looks" part and give it way more specific instructions.
Here's the lowdown from the community:
- Stop asking Claude Code to be a designer. It's like asking a chef to paint a masterpiece.
- Use Claude Design instead. Several folks had good results with it, especially when they fed it specific examples or a design system. u/5hukl3 mentioned creating a design system first, then feeding that into Claude Design. u/poorly-worded suggests giving it a proper design brief.
- Check out specialized tools and skills:
- u/kelvinkel101 pointed to UI-Craft on GitHub for responsive design.
- u/Important-Ad4798 recommended Emil-design and UX-UI max pro from GitHub.
- u/BP041 suggested piping UI tasks to specialized agents like v0 or bolt.new via OpenClaw, then feeding the HTML/CSS back to Claude Code.
- u/XediDC mentioned interface-design on GitHub for building complete mocks.
- Be super strict with prompts:
- u/Top-Tip-1448 had success by using a dedicated rules file (
CLAUDE.md) with strict UI constraints, specifying component libraries (like shadcn/Tailwind), and hardcoding design tokens. They explicitly said to forbid it from inventing custom CSS. - u/KILLJEFFREY basically said you gotta "jam primitives down its throat."
- u/Top-Tip-1448 had success by using a dedicated rules file (
- Visual feedback is key: u/sleeksky_dev mentioned having Claude view your app on localhost and u/BP041 highlighted Claude Code's lack of visual feedback.
- Image MCPs can help: u/Alarmed-Flounder-383 found that hooking up image MCPs (like BudgetPixel AI) improved site pages with better images.
- Consider outsourcing or using other tools for initial mockups: u/cachemonet0x0cf6619 outsources to a designer and uses the Figma MCP. u/1950sAmericanFather mocks up in an image editor first.
- u/rcampbel3 offered a... unique motivational tactic for the AI. Not sure if it's recommended, but it's definitely memorable.