Foundations of UI Design
juniormid
Overview
AI tools generate UI at the speed of thought. But speed without judgment produces fast, mediocre outputs. Laws of UX, Gestalt psychology, visual hierarchy, and accessibility principles are the quality filter that separates AI-accelerated work that is genuinely good from AI-generated work that merely looks plausible. You cannot critique AI output effectively without this foundation. You cannot defend design decisions to stakeholders without this vocabulary.
AI workflow
11 steps
Tools
| Tool | Use | Free tier | Client-safe |
|---|---|---|---|
| lawsofux.com | Primary reference for psychology-backed design principles | Free | Yes |
| Claude | Design critique, principle application, rationale generation | Free tier available | Yes |
| Figma | Implementation and accessibility checking | Free tier available (limited) | Yes |
| Interaction Design Foundation | Deep-dive learning on all foundational topics | Limited free articles, paid courses | Yes |
| WAVE | Live accessibility and contrast checking | Free browser extension | Yes |
Constraints
7 constraints
- Honest Assessment: No AI tool can tell you if a design is good. It can tell you if it violates measurable principles. Design quality requires human judgment informed by deep principle knowledge.
- Foundation-first rule: Do not use AI to generate UI until you can explain why a layout works using at least 3 principles. If you cannot explain it, you cannot critique AI output.
- Accessibility is not optional. WCAG 2.1 AA is the legal minimum in most jurisdictions. Treat contrast failures and missing ARIA labels as bugs, not style choices.
- Better UI is not prettier UI. A minimal checkout with placeholder-only fields and no labels wins on a Dribbble shot; the denser one with persistent labels, clear grouping, error guidance and a delivery estimate is the one that gets the checkout done. Always judge the screen against the task.
- Density is not inherently bad. Huge cards and massive whitespace can make a data-heavy screen worse for the people who scan it all day. Good UI is contextual.
- Colour is information, not decoration. When success green, brand purple, offer yellow, warning red and link blue all appear at once, everything is shouting and nothing is the next step. Stay mostly neutral and keep one action colour.
- When AI can generate ten competent screens in a minute, producing options stops being the skill. Choosing the right one - and explaining the choice in terms of principles, users and the task - is what taste is, and it is what clients and teams are now paying for.
Practice
Free browser games that drill one fundamental at a time. Reading about kerning or the pen tool does not build the eye or the hand - repetition does. Fifteen minutes each is enough to feel the difference.
- KernTypeLetter spacingSpace the letters of a word by eye, then compare your answer against the typographer's. Ten rounds is enough to stop seeing words and start seeing the gaps between them, which is the thing that makes a headline read as considered rather than default.
- ShapeTypeLetterformsRedraw a letter from its skeleton and get scored against the original curve. Trains the eye for stroke weight, optical correction, and why a circular "o" is drawn slightly taller than the x-height it sits on.
- ColorHue, saturation, luminosityMatch a target colour and build harmonies (complementary, analogous, triadic) under time pressure. The fastest way to learn that most "the palette feels off" problems are luminosity problems, not hue problems.
- The Bezier GamePen toolTrace shapes with the pen tool using as few anchor points as possible. Direct, transferable practice for Figma and Illustrator - fewer, better-placed points is the difference between an icon that scales cleanly and one that has to be redrawn.