Hacker News new | ask | show | jobs
by markoa 124 days ago
1/ Use a standard CSS library - Tailwind

2/ Use a common React component library such as Radix UI (don't reinvent the wheel)

3/ Avoid inventing new UI patterns.

4/ Use Storybook so you can isolate all custom UI elements and test/polish them in all states

5/ Develop enough taste over the years of what is good UI to ask CC/Codex to iterate on details that you don't like.

2 comments

Even with all these steps in place it still goes rogue with inline and one off elements CONSTANTLY
That sounds like the typical workflow while NOT working with LLMs?