TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Using LLMs for Better Design in Front End Development?

36 pointsby dsrtslnd235 months ago
Hey HN,<p>I&#x27;ve been leveraging LLMs to quickly build out React apps, which is great, but I&#x27;m really struggling with the design aspect. My apps function well, but they lack that polished look, and I end up in an unproductive loop of CSS adjustments.<p>Has anyone explored using LLMs specifically for design improvements? How can they be harnessed to create more visually appealing outcomes without the endless tweaking?<p>Thanks!

10 comments

asar5 months ago
It depends on what your setup looks like. If your using tailwind and a headless component library like radix or shadcn. LLMs can provide you with pretty decent looking layouts from very simple prompts. If your using plain CSS outputs can vary widely in quality, at least from my own experience.
purple-leafy5 months ago
Yes, this does exactly that<p><a href="https:&#x2F;&#x2F;chromewebstore.google.com&#x2F;detail&#x2F;design-copilot&#x2F;hgaldpfdgmmojgdlaiapgndeicgdbldp" rel="nofollow">https:&#x2F;&#x2F;chromewebstore.google.com&#x2F;detail&#x2F;design-copilot&#x2F;hgal...</a><p>Screenshot component -&gt; design feedback, repeat loop , all without leaving your locally server page
评论 #42440414 未加载
ramesh315 months ago
Use Tailwind. It&#x27;s a massive difference from just asking the LLM to write raw CSS. Tailwind provides a semantic layer that allows them to actually understand it.
评论 #42443270 未加载
dtagames5 months ago
They can&#x27;t. LLMs are the wrong tool for the job, since they can only predict code that might do what you want, not follow actual style or design guidelines. We don&#x27;t have a technology for that. It&#x27;s still human work.
评论 #42440788 未加载
评论 #42446422 未加载
ltravis4955 months ago
Yes using tailwind helps. In my experience you can use tools like vercel v0 to prototype design styles quickly and see which one you like. This step can be done manually if you have design experience and know what you want. Then you should write it down in a design document with specs like color scheme, font, overall style (minimalistic, futuristic, etc). This ensures that the LLM will keep this design style as context when creating components. It doesn&#x27;t always work but it&#x27;s better than relying on its internal context window.
clayhacks5 months ago
V0.dev from vercel is pretty powerful for creating from scratch. Haven’t used it for improving an existing design
bloomingkales5 months ago
Commit to a design system and build all your features to the tee to the system. That’s literally what it’s for as it takes design decisions out of the hands of the developer.<p>Material UI is kind of old looking now, but widely used.
评论 #42476325 未加载
cootsnuck5 months ago
As others have said use Tailwind. But using an LLM pretty much guarantees that &quot;endless tweaking&quot;.<p>They&#x27;re great for getting <i>something</i> up as a starting point. But at least right now, you really are going to want to do the hand tweaking and polishing yourself.<p>The people who are going to get the most benefits from this are those that adapt to this workflow -- not trying to force the LLMs to do things they can&#x27;t but rather working in conjunction with their limitations and augmenting them with your own skills and letting them augment you with their capabilities. It&#x27;s a give and take. You still need to be in the loop to have the best outcomes.
replwoacause5 months ago
I’m so tired of the schadcn radix aesthetic, every website looks like the same with black buttons and controls.
meiraleal5 months ago
This last step you gonna have to take yourself. The aesthetics eyes, you need to develop by yourself, no LLM going to help you.