r/ClaudeAI • u/PhraseProfessional54 • Aug 03 '25
Productivity After building 10+ projects with AI, here's how to actually design great looking UIs fast using AI
I’ve been experimenting a lot with creating UIs using AI over the past few months, and honestly, I used to struggle with it. Every time I asked AI to generate a full design, I’d get something that looked okay. Decent structure, colors in place. But it always felt incomplete. Spacing was off, components looked inconsistent, and I’d end up spending hours fixing little details manually.
Eventually, I realized I was approaching AI the wrong way. I was expecting it to nail everything in one go, which almost never works. Same as if you told a human designer, “Make me the perfect app UI in one shot.”
So I started treating AI like a junior UI/UX designer:
- First, I let it create a rough draft.
- Then I have it polish and refine page by page.
- Finally, I guide it on micro details. One tiny part at a time.
This layered approach changed everything for me. I call it the Zoom-In Method. Every pass zooms in closer until the design is basically production-ready. Here’s how it works:
1. First pass (50%) – Full vision / rough draft
This is where I give AI all the context I have about the app. Context is everything here. The more specific, the better the rough draft. You could even write your entire vision in a Markdown file with 100–150 lines covering every page, feature, and detail. And you can even use another AI to help you write that file based on your ideas.
You can also provide a lot of screenshots or examples of designs you like. This helps guide the AI visually and keeps the style closer to what you’re aiming for.
Pro tip: If you have the code for a component or a full page design that you like, copy-paste that code and mention it to the AI. Tell it to use the same design approach, color palette, and structure across the rest of the pages. This will instantly boost consistency throughout your UI.
Example: E-commerce Admin Dashboard
Let’s say I’m designing an admin dashboard for an e-commerce platform. Here’s what I’d provide AI in the first pass:
- Goal: Dashboard for store owners to manage products, orders, and customers.
- Core features: Product CRUD, order tracking, analytics, customer profiles.
- Core pages: Dashboard overview, products page, orders page, analytics page, customers page, and settings.
- Color palette: White/neutral base with accents of #4D93F8 (blue) and #2A51C1 (dark blue).
- Style: Clean, modern, minimal. Focus on clarity, no clutter.
- Target audience: Store owners who want a quick overview of business health.
- Vibe: Professional but approachable (not overly corporate).
- Key UI elements: Sidebar navigation, top navbar, data tables, charts, cards for metrics, search/filter components.
Note: This example is not detailed enough. It’s just to showcase the idea. In practice, you should really include every single thing in your mind so the AI fully understands the components it needs to build and the design approach it should follow. As always, the more context you give, the better the output will be.
I don’t worry about perfection here. I just let the AI spit out the full rough draft of the UI. At this stage, it’s usually around 50% done. functional but still has a lot of errors and weird placements, and inconsistencies.
2. Second pass (99%) – Zoom in and polish
Here’s where the magic happens. Instead of asking AI to fix everything at once, I tell it to focus on one page at a time and improve it using best practices.
What surprised me the most when I started doing this is how self-aware AI can be when you make it reflect on its own work. I’d tell it to look back and fix mistakes, and it would point out issues I hadn’t even noticed. Like inconsistent padding or slightly off font sizes. This step alone saves me hours of back-and-forth because AI catches a huge chunk of its mistakes here.
The prompt I use talks to AI directly, like it’s reviewing its own work:
Go through the [here you should mention the exact page the ai should go through] you just created and improve it significantly:
- Reflect on mistakes you made, inconsistencies, and anything visually off.
- Apply modern UI/UX best practices (spacing, typography, alignment, hierarchy, color balance, accessibility).
- Make sure the layout feels balanced and professional while keeping the same color palette and vision.
- Fix awkward placements, improve component consistency and make sure everything looks professional and polished.
Doing this page by page gets me to around 99% of what I want to achieve it. But still there might be some modifications I want to add or Specific designs in my mind, animations, etc.. and here is where the third part comes.
3. Micro pass (99% → 100%) – Final polish
This last step is where I go super specific. Instead of prompting AI to improve a whole page, I point it to tiny details or special ideas I want added, things like:
- Fixing alignment on the navbar.
- Perfecting button hover states.
- Adjusting the spacing between table rows.
- Adding subtle animations or micro-interactions.
- Fixing small visual bugs or awkward placements.
In this part, being specific is the most important thing. You can provide screenshots, explain what you want in detail, describe the exact animation you want, and mention the specific component. Basically, more context equals much better results.
I repeat this process for each small section until everything feels exactly right. At this point, I’ve gone from 50% → 99% → 100% polished in a fraction of the time it used to take.
Why this works
AI struggles when you expect perfection in one shot. But when you layer the instructions, big picture first, then details, then micro details. It starts catching mistakes it missed before and produces something way more refined.
It’s actually similar to how UI/UX designers work:
- They start with low-fidelity wireframes to capture structure and flow.
- Then they move to high-fidelity mockups to refine style, spacing, and hierarchy.
- Finally, they polish micro-interactions, hover states, and pixel-perfect spacing.
This is exactly what we’re doing here. Just guiding AI through the same layered workflow a real designer would follow. The other key factor is context: the more context and specificity you give AI (exact sections, screenshots, precise issues), the better it performs. Without context, it guesses; with context, it just executes correctly.
Final thoughts
This method completely cut down my back-and-forth time with AI. What used to take me 6–8 hours of tweaking, I now get done in 1–2 hours. And the results are way cleaner and closer to what I want.
I also have some other UI/AI tips I’ve learned along the way. If you are interested, I can put together a comprehensive post covering them.
Would also love to hear from others: What’s your process for getting Vibe designed UIs to look Great?
54
u/GolfVulture Aug 03 '25
I’ve also found using playwright mcp to allow Claude code to “view” and click through the page. Great for testing functionality
11
u/paceoppositetango Aug 03 '25
Thought about building a workflow on top of slash commands to do this and sharing?
2
u/Key-Singer-2193 Aug 04 '25
The problem I have is the AI always uses the same color scheme with the greens, blues and oranges, emojis, same look and feel for everything. Even if you have it create a custom dashboard eventually it will default somewhere back to the blues yellows greens and reds
15
u/dualistornot Aug 04 '25
can you please post pictures of your UI, so we can get some ideas?
6
u/LuckyPrior4374 Aug 04 '25
Respect for sharing what works for you
To be completely honest though, I think this is very much missing the forest for the trees.
A professional looking, scalable, maintainable product starts with a design system, atomic components, and a theme. That’s it.
In pragmatic terms, it means you use a battle-tested component library, perhaps tools like tailwind, and ensure the LLM always uses your set of components in the right place (e.g. card variant=“compact translucent” is always used when rendering a scrollable list of items).
It’s as simple as that. If you don’t like the aesthetic result, you simply tweak the theme and/or components.
The challenge is ensuring the LLM ALWAYS has the context of your design system rules, that it has examples of common patterns in your code using the same components, etc. Besides this, you MUST lay down the law: do NOT accept work if Claude starts adding shit like padding-left: 4px (you should have AUTOMATIC theme-driven, REM-unit spacing built into every component!!!!)
Don’t overcomplicate it. Stay disciplined, tell Claude your component library is religion, and if Claude dares be blasphemous, you will whip him into shape.
2
u/nik1here Aug 04 '25
AI resources stretch too thin when we ask it to do all at once So it will not do a good job but If we allow it one simple task at a time it can put all it resources into that task and do it well
10
u/GautamSud Aug 04 '25
On top of asking it to follow standard design practice, I have done some unconventional prompting too. For this site - indiancoffeeguide.com I asked it "hey, I am taking part in xyz design competition and thinking of submitting designs around "Topic" lets brainstorm and make something which make our designs standout from others"
7
u/Dogma42069 Aug 04 '25
I just spent like 6 hours laying out pages and functionalities into one giant prompt. Giving it a color scheme, a rough idea of design and the technology I wanted to use. Used chat gpt to help make it really good and any points I missed. Then I put Claude code into the VS Code console and let it go. The design was great but then I had to spend 2 days doing bug fixes and implementing the functionalities in the way I wanted them and some of the ones that were missed. It made a full online ordering system, content management system, OAuth with Google, Google maps, places for address completion, stripe integration, a cart system, these advanced combo things and some Google reviews. I definitely had to direct Claude on exactly how I wanted the bugs fixed but it does it fine with some specific direction. You definitely need to know how to build these applications but Claude does it way faster than I could. This project probably would have taken me 100+ hours with normal coding.
1
u/haobes Aug 04 '25
Always with Claude?
1
u/[deleted] Aug 04 '25
Did you Claude Code for the UI visual design? I myself is not a creative person and I am not a design person. Will your approach work on me ? Please advice. Thanks 🙏
1
u/kanx99 Aug 04 '25
Great post, thanks for the tips!
I was just wondering, do you use a specific design tool like Figma or Adobe XD at any point in this process to visualize everything, or do you work primarily with the code output from the AI?
1
u/ethotopia Aug 04 '25
Out of curiosity, do you think UX/UI designers are going to be obsolete or at least significantly reduced in a few years?
2
u/Ordinary_Bill_9944 Aug 04 '25
Is this your personal/solo project? Because that makes a big difference in AI usage.
In my own personal/solo but commerical project (more than 50 commercial including non-code) AI works very well even without instruction micro management. Claude for agentic stuff, and Copilot for Q&A.
At work, oh boy. Things that I would just commit and be done with I cannot do. I would have to understand and explain the WHY in commit message lol. AI can do that... but not really lol. It explains the how and that what and never really why.
I'm really intersted in how AI is used at enterprise level with 50 or more people working. With code reviews done by lead developers with years of experience. Most of the current stories of AI usage seems to be from solo devs who never worked in a large team.
2
u/theslopdoctor Aug 04 '25
Could you post some links to any of these 10 projects? Couldn't find them looking through your profile...
1
u/jazzhandler Aug 04 '25
A question I ask clients is essentially which well-known retailer would they bite the style of. West Elm, with perhaps a slight Cracker Barrel accent? That works just as well with LLMs.
1
u/Diligent-Builder7762 Aug 04 '25
https://github.com/tercumantanumut/sunnysideFigma-Context-MCP/tree/main
I use this, which is made by me :)
If I need sth special I use superdesign
1
u/bitterjay Aug 04 '25
I find myself constantly telling it to give human readable ID's to all the the elements in a webpage so I can target the div(s) that I need to be worked on. It doesn't like ID's.
1
u/Chance-Country-2198 Aug 04 '25
thanks
1
u/lev606 Aug 04 '25
Do you have any custom commands you can share?
1
u/WhealthyPolo Aug 06 '25
That's exactly what I did when using LLM to design UI
1
u/RetroTeam_App Oct 18 '25
Am working on a Vibe Designing tool similar to Figma Make but an intersection of cursor but for designers.
I have been frustrated with just either looking at code with cursor not being able to select an element and have the Ai generate a specific component or just change a color or text without waiting on Ai. Sometimes the precision of design coupled with Ai is what I need.
Hence am working on cursor for designers. Anyone here would pay for such tool. If so comment why or why not.
1
u/Guilty_Nothing_2858 Dec 08 '25
i use https://dls.labs21.dev for AI generated design.
1
u/MarsupialOne1572 Mar 15 '26
This is indeed the most helpful, realistic and senior use of AI tools I read so far. Vibe designing for real.
I iterate with the same spirit but with different milestones. At work we applied and tweaked the concept of stages at 30% ,60%, 90% of completion before preparing for hand-off. Here’s the original article from smashing magazine. https://www.reddit.com/r/montreal/s/iN0Lq1pJuW
It works very well and you can combine the stages between features. So on real clients mandates, it gets you a modular, breathing system.
The only thing I would argue in what you said, is how long it takes. 1-2hours seems quite optimistic to me. But you also said you treat it like a junior designer. fair. You will obtain these good results in that time, hoping for that output. Then the seniority of designer come after. And during. When the goal is to produce above the expected, spot the strategic parts of the product you are building and elevate it. That is where it takes time and iterations but the overall model you describe works.
In my 30,60,90, it means you work by iterations at a stage. And working on that with a project to vision markdown file help LLM to keep track of the full mechanism.
Great post really, give me good for thoughts to fine tune my own system. Thanks OP.
1
u/ivanzhaowy Sep 08 '26
The zoom-in approach matches my experience. Large redesign prompts tend to hide regressions, while selecting one real component at a time makes spacing, hierarchy, and interaction changes easier to evaluate. The strongest version of this workflow keeps each visual pass connected to the existing codebase rather than generating disconnected mockups.
I’m building an open-source workflow around this idea called Monad Design. The running app becomes the canvas: select or annotate the actual UI, send its screenshot, app state, and source hints to Claude Code or Codex, let the agent edit the existing repo, then rebuild and compare the source-backed result.
GitHub: https://github.com/Monadix-AI/monad-design
Video preview: https://watchclueso.com/embed/pio8jqfcg4ivj0r1
Disclosure: I’m the developer.
0
u/Projected_Sigs Aug 04 '25
Question: Sorry, if I missed this, but when you iteratively refine the pages, are you doing this in an interactive prompt and having it modify code that it's already generated?
Or, alternatively, are you iteratively refining the prompts for those pages, then 1-shot regenerating the app with your newly refined and perfected, prompt?
Either way can work for some problems.
I'm becoming increasingly hesitant to refine existing code in an interactive session that operates on finished code. First, you can't (easily) reproduce it. It's not modular for iterative improvements later. Next, you can't take iterative refinement, done at the Claude prompt and refactor it to parallel tasks subagents can run. Finally, if this process goes on long enough in an interactive Claude session, the context window pollution starts creating problems. Caveat: thats just been my interpretation of negative experiences with it.
In contrast, a well written prompt seems to evaluate fast & reliably preserve these details.
I'm always up for hearing more tips. Everyone picks up on different aspects of it.
18
u/[deleted] Aug 04 '25
[removed] — view removed comment