TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

36 点作者 dsrtslnd235 个月前
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 条评论

asar5 个月前
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 个月前
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 个月前
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 个月前
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 个月前
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 个月前
V0.dev from vercel is pretty powerful for creating from scratch. Haven’t used it for improving an existing design
bloomingkales5 个月前
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 个月前
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 个月前
I’m so tired of the schadcn radix aesthetic, every website looks like the same with black buttons and controls.
meiraleal5 个月前
This last step you gonna have to take yourself. The aesthetics eyes, you need to develop by yourself, no LLM going to help you.