Operations Workflows Workflow Intermediate

AI UI & Component Design Workflow

Structure a UI so it stays consistent as it grows — inventory the screens, break them into reusable components, specify the component system and its rules, then review the structure for drift.

The problem

A UI built screen by screen without a structure underneath becomes a pile of one-off components: three slightly different buttons, four card layouts, the same form rebuilt five ways. The inconsistency isn't a visual problem you can restyle away — it's structural, baked into how the interface was composed, and it makes every new screen slower and the whole product feel unreliable. Designing UI structure means the opposite discipline: inventory the screens, find the components they share, define a system with rules for reuse and consistency, before the duplication sets in. This is interface architecture, not visual design — the skeleton, not the paint.

Recommended workflow

Each step uses an existing NewPrompt tool, pre-filled by a matching resource. Open the resource to read it, or jump straight into the tool with the inputs ready.

  1. Inventory the screens and surfaces

    Anchor the model in a front-end engineering perspective and list every screen and interface surface the product needs. You can't design a component system until you can see everything it has to cover.

    Goal The screens and interface surfaces inventoried.

    Open this step in Role Prompt Generator
  2. Break screens into reusable components

    Decompose the screens into the components they share — the buttons, forms, cards, layouts that recur — so the same element is defined once and reused, not rebuilt slightly differently each time it appears.

    Goal Screens decomposed into a set of reusable components.

    Open this step in Multi-Step Prompt Builder
  3. Specify the component system and rules

    Define the component system: each component's variants and states, how they compose into layouts, and the consistency rules that keep the interface coherent. This is the spec the build implements against.

    Goal A component system spec with composition and consistency rules.

    Open this step in Markdown Output Builder
  4. Review the structure for drift

    Turn a review lens on the structure: duplicate components doing the same job, inconsistent patterns, screens that broke the system. Catch the drift in the plan, before it's a thousand lines of divergent UI code.

    Goal The UI structure reviewed for duplication and inconsistency.

    Open this step in Code Review Prompt Generator

Expected outcome

A UI with a structure under it — screens inventoried, reusable components identified, a component system specified with consistency rules, and the structure reviewed for drift — so the interface stays coherent as it grows instead of fragmenting into one-off screens nobody can keep consistent.

Best for

  • Designing a reusable component system before building screens
  • Bringing structure and consistency to a growing UI
  • Breaking screens into components for implementation

Not for

  • Visual design, branding, or graphic styling — this owns structure, not look
  • Organizing a site's pages and navigation — use the AI Website Structure Workflow
  • Designing software/system architecture — use the AI Project Architecture Workflow

FAQ

Is this visual or graphic design?

No. This owns UI structure — screen composition, the component system, reuse, and interface consistency. It decides how the interface is organized, not how it looks: colors, typography, and brand are a separate, later concern. It's interface architecture, the skeleton beneath the visuals.

How is this different from the AI Website Structure Workflow?

Website structure is site-level information architecture — pages, sitemap, navigation. This is screen-level: the components inside the pages and how they compose. Different granularity — one organizes the site, the other organizes the interface within it. They sit next to each other in a build.

How is this different from the AI Project Architecture Workflow?

Project architecture designs the system — services, data flow, boundaries. This designs the front-end's component structure. Same architect mindset, opposite end of the stack: the system's internals versus the interface's reusable building blocks.

Part of these blueprints

Complete build journeys that include this workflow as a stage.

Where to go next

Recommended next workflow AI Code Review Workflow A complete AI-assisted review pass — not one prompt — that ends with ranked findings, tests guarding behavior, and a refactor plan when one is warranted. Use when A change is important enough that one review prompt isn't enough — you want context, tests, and a plan around the review. Start this workflow

Related workflows

Tip: Each step's resource opens its tool pre-filled — start at step one and carry the output forward.

All playbooks