Wiki Notes / UI/UX Design

UI/UX Design

Overview

UI/UX design is the disciplined practice of shaping how users interact with digital products, balancing visual aesthetics (UI) with functional flow and emotional response (UX). A strong design system—anchored by design tokens, reusable components, and clear guidelines—acts as a single source of truth that eliminates visual inconsistency, accelerates iteration, and enables scalable theming (light/dark, brand shifts). This reference page synthesizes the workflow taught in the course Building Consistent UI with AI: A Design System Workflow Using Claude Design, showing how AI‑augmented tools can be harnessed to create, refine, and maintain such systems without sacrificing human judgment. Readers will find detailed explanations of core concepts, concrete techniques, personal insights, and links to related knowledge‑base topics that deepen the understanding of modern UI/UX practice.

Key Concepts

Design System

A design system is a curated collection of UI components, patterns, guidelines, and brand assets that serves as the authoritative reference for product teams. It ensures visual and behavioral consistency across screens, reduces duplicated effort, and provides a shared language between designers and developers. In the course, the lack of a design system in the Pluto app manifested as mismatched buttons, irregular spacing, and inconsistent corner radii, highlighting the system’s role as a “single source of truth.”

Design Tokens

Design tokens are named variables that encapsulate low‑level design decisions—such as color values, typographic scales, spacing units, border radii, and shadow definitions—into a format that can be consumed by both design tools and code. Tokens like spacing-medium or color-brand-primary enable global updates (e.g., changing a brand color) with a single edit, support theming, and bridge the gap between design and implementation.

AI‑Smell

AI‑smell refers to the subtle, often subconscious feeling that a design generated purely by an AI model feels “off” to experienced designers—manifesting as odd borders, inconsistent spacing, or a generic aesthetic. It arises when AI lacks the constraints and contextual knowledge that a human‑guided design system provides. Recognizing AI‑smell motivates designers to steer AI output with explicit token‑based guidelines.

Component Reuse

Component reuse is the practice of defining UI elements (buttons, cards, modals, etc.) once and applying them throughout a product. When backed by a design system and tokens, reused components automatically inherit updates to spacing, color, or typography, ensuring visual harmony and reducing maintenance overhead.

Light/Dark Theming

Light/dark theming involves creating complementary token sets for two (or more) color modes, allowing a product to adapt its appearance based on user preference or ambient conditions. By defining colors as tokens (e.g., color-background, color-text-primary) and swapping their values between themes, designers can implement theme switches without redesigning individual screens.

Markup‑Tool Refinement

Markup‑tool refinement describes the manual or semi‑manual adjustment of AI‑generated token outputs using annotation or editing tools (e.g., Figma plugins, Sketch markup, or custom scripts). This step corrects any AI‑produced inaccuracies, aligns tokens with brand guidelines, and prepares the token set for consumption by design and development pipelines.

Techniques & Methods

AI‑Augmented Design System Workflow (Claude Design)

  1. Gather Visual Inspiration – Collect screenshots, mood boards, or brand assets that capture the desired look and feel.
  2. Generate Token‑Based Design System – Feed a representative screenshot into Claude Design (an AI model tuned for UI token extraction). The model proposes a set of design tokens (colors, typography, spacing, radii) derived directly from the visual input.
  3. Refine with Markup Tools – Import the AI‑generated token set into a design‑tool markup environment. Adjust any outliers, enforce brand‑specific constraints (e.g., accessibility contrast ratios), and name tokens according to a consistent convention (e.g., size-4, font-weight-semibold).
  4. Apply Tokens Across Screens – Replace hard‑coded values in existing UI mockups with the newly defined tokens. Observe how changes propagate globally—e.g., updating spacing-medium instantly adjusts padding on all cards, buttons, and forms.
  5. Establish Component Library – Build reusable components (buttons, inputs, nav bars) that reference the token set. Document usage guidelines in a living style guide (e.g., Storybook, Zeroheight).
  6. Support Theming – Create alternative token palettes for dark mode or seasonal brands, switching the token set at runtime or build time.
  7. Iterate with Feedback – Use usability testing and stakeholder review to validate that the token‑driven UI meets both aesthetic and functional goals, then feed insights back into the token set.

Token Naming Conventions

  • Atomic vs. Semantic – Prefer semantic names (color-brand-primary, spacing-layout-gutter) over atomic names (#0066FF, 16px) to convey intent and simplify future changes.
  • Scalable Units – Use unit‑less scales (e.g., spacing-1 = 4px, spacing-2 = 8px) that can be easily adjusted for different screen densities or design languages.
  • Hierarchical Prefixes – Group related tokens with prefixes (typography-heading-h1, typography-body-base) to aid discoverability in large token sets.

Integration with Development

  • Export tokens as JSON or CSS custom properties (--color-brand-primary: #0066FF;) for consumption in front‑end frameworks (React, Vue, Svelte).
  • Use style‑dictionary or Theo to transform token files into platform‑specific outputs (iOS/Android XML, Sass variables, etc.).
  • Couple token updates with automated visual regression testing (e.g., Chromatic, Percy) to catch unintended side‑effects.

Insights & Lessons Learned

(First‑person perspective)

  1. I learned that starting with a concrete visual reference (a screenshot) gives the AI a grounded context, dramatically reducing the generic “AI‑smell” that plagues wholly synthetic outputs.
  2. The most valuable step is the manual refinement pass—no matter how advanced the model, human judgment is required to enforce brand rules, accessibility standards, and token naming clarity.
  3. By encoding design decisions as tokens, I gained the ability to switch themes or rebrand an entire product with a single file edit, something that previously required hunting down dozens of hard‑coded hex codes across multiple design files.
  4. I observed that component libraries built on top of a token system dramatically cut down QA time, because any change to a token propagates predictably, eliminating the “did we miss a button?” anxiety.
  5. The workflow highlighted the importance of establishing a token naming convention early; inconsistent naming created confusion when developers tried to map tokens to code, underscoring that a design system is as much about communication as it is about visuals.
  6. I realized that AI‑augmented design does not replace the designer—it amplifies them by handling the tedious extraction of values, freeing the designer to focus on higher‑level decisions like interaction flow, hierarchy, and emotional resonance.
  7. Implementing a design system forced me to think in systems rather than screens, which improved collaboration with engineers who could now reference the same token file during implementation.
  8. Finally, I saw that the ROI of a design system becomes evident quickly in startups: rapid iteration, consistent branding across marketing and product, and easier onboarding of new designers or contractors.

Cross-References

  • claude-ai – The course centers on Claude Design, an AI model specialized for extracting UI design tokens; understanding its capabilities and limits is essential to applying the workflow.
  • ai-agents – While not directly covered, the notion of an AI agent that iteratively refines design outputs aligns with the AI‑augmented workflow described here.
  • software-engineering – Design systems bridge design and development; exporting tokens to CSS custom properties or JSON enables seamless handoff to frontend engineering teams.
  • startup – Startups benefit greatly from design systems because they accelerate product iteration and ensure brand consistency despite limited resources.
  • machine-learning – The underlying token extraction relies on ML models; familiarity with ML concepts helps in evaluating AI‑generated suggestions and troubleshooting failures.
  • negotiation – Communicating design system value to stakeholders often requires negotiation skills to secure time and resources for system creation and maintenance.
  • data-engineering – Managing large token sets at scale can involve data‑engineering practices such as versioning, schema validation, and automated pipelines for token distribution.

Course Index

  1. Building Consistent UI with AI: A Design System Workflow Using Claude Design – This course demonstrates a repeatable, AI‑enhanced process for creating a design system from a visual reference. Learners gather inspiration, generate design tokens via Claude Design, refine them with markup tools, and apply the system across app screens to achieve visual consistency, support theming, and enable rapid brand updates without manual hex‑code hunting.

This page serves as the definitive reference for UI/UX Design within the knowledge base, integrating the specific course material with broader concepts, methods, and insights relevant to practitioners.

Courses in UI/UX Design

1 total