Design β UI/UX Principles & Resources
Last reviewed: 2026-09-17
UI/UX design encompasses the visual and interactive aspects of digital products. Good design improves usability, accessibility, and user satisfaction β making it a critical skill for developers, not just dedicated designers.
Overview
This article covers design fundamentals: colour, typography and layout, interaction principles, design systems, accessibility, and the tooling landscape for producing clean, functional interfaces.
Topics Covered
- Colour theory and accessible contrast
- Typography: hierarchy, scale, measure, pairing
- Layout and spacing systems
- Interaction and feedback patterns
- Design systems and component libraries
- Accessibility standards and checks
- Design and prototyping tools
- Asset sources: icons, fonts, imagery
Core Design Principles
1. Colour
- 60-30-10 rule β 60% dominant, 30% secondary, 10% accent
- Contrast β WCAG AA (4.5:1 for text, 3:1 for large text)
- Colour psychology β Blue (trust), Green (growth), Red (urgency)
- Accessibility β Don't rely on colour alone (add icons/text)
2. Typography
- Hierarchy β Headings > Subheadings > Body > Captions
- Scale β Use a modular scale (1.25, 1.333, 1.5 ratio)
- Line height β 1.5Γ for body text
- Measure β 45β75 characters per line for readability
- Font pairing β Serif + sans-serif, or one family with weights
3. Layout & Spacing
- Grid systems β 8px / 4px grid foundation
- White space β Breathing room between elements
- Alignment β Consistent edges create visual order
- Proximity β Related items close together
- Responsive design β Mobile-first, breakpoints for desktop/tablet
4. Interaction
- Feedback β Visual response to every action (hover, click, loading)
- Consistency β Same patterns across the product
- Affordance β Visual cues suggest how elements work (buttons look clickable)
- Progressive disclosure β Show complex options only when needed
- Error prevention β Constrain inputs and confirm destructive actions
Design Systems
| System | Creator | Best For |
|---|---|---|
| Material Design 3 | Android, web, cross-platform | |
| Human Interface Guidelines | Apple | iOS, macOS, visionOS |
| Atlassian Design System | Atlassian | Enterprise tools |
| Polaris | Shopify | E-commerce |
| Carbon | IBM | Enterprise dashboards |
| Ant Design | Ant Group | Admin panels |
A design system is more than a component library: it pairs tokens (colour, spacing, type), components, patterns and usage guidance with a governance process so teams converge instead of diverging.
Design Tokens
/* Example token layer consumed by components */
:root {
--color-bg: #ffffff;
--color-fg: #1a1a1a;
--color-accent: #2563eb;
--space-1: 4px;
--space-2: 8px;
--space-4: 16px;
--radius-md: 8px;
--font-body: 1rem/1.5 system-ui, sans-serif;
}
Accessibility Checklist
| Check | Minimum standard |
|---|---|
| Text contrast | 4.5:1 body, 3:1 large text (WCAG AA) |
| Keyboard access | Every interactive element reachable and operable |
| Focus visibility | Visible focus indicator, never removed without a replacement |
| Labels | Every input has a programmatic label |
| Alt text | Meaningful for informative images, empty for decorative |
| Motion | Respect prefers-reduced-motion |
| Target size | At least 24Γ24 CSS px, ideally 44Γ44 |
Automated tools (Lighthouse, WAVE, axe) catch maybe a third of issues β keyboard and screen-reader passes are still required.
Tools
| Tool | Purpose | Cost |
|---|---|---|
| Figma | UI design, prototyping, collaboration | Free tier + paid |
| Penpot | Open-source Figma alternative | Free |
| Sketch | macOS UI design | Paid |
| Adobe XD | UI/UX design | Creative Cloud |
| Framer | Interaction design + web publishing | Free tier |
| Spline | 3D design for web | Free tier |
Asset Sources
- Icons β Feather, Lucide, Heroicons, Font Awesome
- Fonts β Google Fonts, Font Squirrel
- Imagery β Unsplash, Pexels
- UI inspiration β Dribbble, Behance, Awwwards
- Colour palettes β Coolors, Adobe Color
Resources
- Dribbble β Design inspiration
- Behance β Portfolio showcase
- Coolors β Colour palette generator
- Google Fonts β Free web fonts
- Material Design β Google's design system
- Refactoring UI β Book on UI design for developers
- Law of UX β UX principles reference
- WCAG Quick Reference β Accessibility success criteria