Mirage Academy · AI UI engineering course

AI UI engineering course: one design system that stays consistent

Your product may have five button styles and no clear answer on which one is right. This course teaches you to build one design system with AI help: tokens, components, accessibility by default, visual tests and a registry. Watch it in a minute, then check a color pair against the contrast rule.

Open the courseCheck a contrast pair

The course in a minute

A design system you build, test and let AI draft for

AI-Powered UI Engineering & Design Systems is an advanced course for software engineers and technical product people who build AI features.

Still from the intro video for the course AI-Powered UI Engineering & Design Systems
Intro video, 1 min 6 s. Transcript below.
Read the transcript

Your product has five button styles, and nobody knows which one is right. This course is for UI engineers who want one design system, built with AI help, that stays consistent. Compare the two ways of working. Colours, type and spacing become tokens instead of copied values. Components share one architecture. Accessibility is built in by default. Tests catch visual changes before users do. AI drafts a component quickly, but it has limits. So you review the draft against your tokens and accessibility rules, run visual regression and component tests, then document it in a registry. Eight chapters take you from tokens to a capstone: a small design system with tests that you build yourself. If that is the system you need, enrol and start with chapter one.

The path in the video

  1. Turn colors, type and spacing into tokens
  2. Give components one architecture
  3. Build accessibility in by default
  4. Catch visual changes with tests before users do
  5. Review each AI draft against your tokens and accessibility rules
  6. Document the result in a registry
  1. 01

    Advanced level

    The catalogue lists the course at the Advanced level.

  2. 02

    8 chapters, 40 lessons

    Five lessons in each chapter, with a small design system as the last chapter.

  3. 03

    Built for builders

    Aimed at the people on a team who build AI features, such as engineers and technical product people.

The course's intro video with a play button. Beside it, a dotted rail with the steps the video names, from tokens to the registry.

Chapter 1

Why a product needs a system at all

The first chapter covers what a design system is and the cost of having none.

Five styles of one button General example with invented values, not a screenshot of any product.

One style from tokens

Token layers

  1. Raw value#4F46E5
  2. Semantic tokencolor-action
  3. Component tokenbutton-background
  1. 01

    What a design system is

    Lesson: what a design system is.

  2. 02

    The cost of no system

    Lessons: the cost of no system (auditing inconsistency), and build, adopt or wait with break-even arithmetic.

  3. 03

    Layers, governance and AI guardrails

    Lessons: token layers, governance and adoption rate, AI assistants and guardrails.

Five buttons that differ in corner radius, padding and fill, joined by dotted lines to one button. Beside them, three stacked layers: a raw value, a semantic token and a component token.

Chapter 2

Colors, type and spacing as tokens

The chapter covers a type scale from a ratio, a spacing scale, color and contrast, naming and themes, and the token pipeline.

Type scale

Ratio 1.25 from 16 px

  1. 39 px
  2. 31 px
  3. 25 px
  4. 20 px
  5. 16 px

Spacing scale

Base 4 px, times 1, 2, 3, 4, 6, 8

  1. 4 px
  2. 8 px
  3. 12 px
  4. 16 px
  5. 24 px
  6. 32 px

One name, two values

 LightDark
surface#FFFFFF#0F0F1A
text#111827#F9FAFB
action#4F46E5#818CF8

Example numbers and colors, not the course's tokens.

  1. 01

    Type and spacing

    Lessons: a type scale from a ratio, a spacing scale.

  2. 02

    Color

    Lessons: color and contrast, naming and themes.

  3. 03

    Delivery

    Lesson: the token pipeline.

A ladder of five type sizes from a ratio, a row of six spacing bars from a base, and a table where three token names take different values in a light and a dark theme.

Chapter 3

Components with one architecture

The chapter covers anatomy, variants and states, composition, who owns state and keeping behavior apart from style.

Variant / State Invented example, not a component from the course.

DefaultHoverFocusDisabled
Primary
Secondary
Ghost

Slots of one button

  • Icon
  • Label
  • Badge
  1. 01

    Anatomy and API

    Lesson: anatomy and API.

  2. 02

    Variants and states

    Lesson: variants and states.

  3. 03

    Composition and ownership

    Lessons: composition over configuration, who owns state.

  4. 04

    Behavior and style

    Lesson: separating behavior from style.

A grid of button shapes: three variants down the side, four states across the top. Below it, the named slots of one component.

Chapter 4 · Try it: contrast

Accessibility built in from the first component

The chapter covers native elements, contrast, keyboard, focus, target size, names, roles and states, and the tests that check them. Contrast is pure arithmetic, so you can try it here.

A contrast check

Example colors from an invented palette, not the tokens of the course.

Text color
Background

Contrast ratio

4.4:1

Normal text, minimum 4.5
Fail
Large text, minimum 3
Pass
Interface part, minimum 3
Pass

gray-b on surface: contrast 4.4 to 1. Normal text: Fail. Large text: Pass. Interface part: Pass.

  1. 01

    Native first

    Lessons: native first, contrast.

  2. 02

    Keyboard and structure

    Lessons: keyboard, focus and target size, names, roles and states.

  3. 03

    Testing

    Lesson: automated and manual testing.

Two choices, a text color and a background, give a contrast ratio and three verdicts: normal text, large text and an interface part.

Chapter 5

AI drafts a component fast, and you review it

The chapter starts from a spec, looks at typical failures, scores a batch and covers the time with review and rework.

Invented example batch, not a measurement of any AI tool.

 Uses tokensHas a nameKeyboard worksContrastScore
Button4 of 4
Input3 of 4
Select2 of 4
Tabs3 of 4
Dialog1 of 4
Tooltip3 of 4
  1. 01

    Spec first

    Lesson: spec first.

  2. 02

    Typical failures

    Lessons: typical failures, scoring a batch.

  3. 03

    The honest cost

    Lessons: time with review and rework, keep it human.

A grid of six generated components against four checks. A filled dot is a pass and a ring is a fail. Each row ends in a score.

The same habit for code: the AI-assisted development course →

Chapter 6

Visual regression and component tests

The chapter covers test layers, pixel difference, flaky screenshots, baselines and review, and the pipeline.

Invented example, not a real screenshot.

Baseline

New

Difference

3 of 40 cells changed (8 percent)

  1. 01

    Test layers

    Lesson: test layers.

  2. 02

    Pixel difference

    Lessons: pixel difference, flaky screenshots.

  3. 03

    Baselines and the pipeline

    Lessons: baselines and review, in the pipeline.

Three small grids: the approved baseline, the new screenshot and the difference, where changed cells are cyan. A line states how many cells changed.

Browser tests in depth: the Playwright testing course →

Chapter 7

Documentation and a registry people can use

The chapter covers a component page, live examples, registries, versions and deprecation, and a changelog with coverage.

Invented example, not an entry of any registry.

Component pageButton

Live example

Props

variant
primary, secondary or ghost
disabled
true or false
size
small or medium

Registry

  • button2.1.0Current: Current
  • dialog1.4.0Current: Current
  • modal0.9.2Deprecated: Use dialog
  1. 01

    Component pages

    Lessons: a component page, live examples.

  2. 02

    Registries

    Lesson: registries.

  3. 03

    Change over time

    Lessons: versions and deprecation, changelog and coverage.

On the left, a component page with a live example frame and a table of its props. On the right, a registry list with version numbers, one entry marked as deprecated.

Chapter 8

Capstone: a small design system with tests

One small system, scoped from an audit and held in place by gates.

  1. 1Scope from the audit

    Lesson 1 of the design system capstone.
  2. 2Tokens and components

    Lesson 2 of the design system capstone.
  3. 3Gates

    Lesson 3 of the design system capstone.
  4. 4Review a generated component

    Lesson 4 of the design system capstone.
  5. 5Readiness

    Lesson 5 of the design system capstone.

Open the course: AI-Powered UI Engineering & Design Systems

The five capstone steps as a checklist, from the audit to the readiness check.

Where the AI work fits: the AI literacy course →From the interface to the product: the AI product management course →

Questions about the AI UI engineering course

  • What does the AI UI engineering course teach?

    It teaches you to build and keep a design system with AI assistance: tokens, components, accessibility, tests and documentation, and how to review what an AI assistant drafts.

  • Who is the course for?

    The audience on the course page is software engineers and technical product people who build AI features. The catalogue lists the course at the Advanced level.

  • What is the design system capstone?

    The capstone is a small design system with tests. You scope it from an audit, build tokens and components, set up gates, review a generated component and check readiness.

  • How is the course organized?

    Eight chapters hold the 40 lessons, five per chapter, running from why a system matters through tokens, components, accessibility, AI generated components, visual tests and documentation to the capstone.

  • Does the course cover accessibility?

    Yes. A whole chapter covers native elements, contrast, keyboard, focus and target size, names, roles and states, and automated and manual testing.

  • Does it cover AI generated components?

    Yes. One chapter covers writing a spec first, typical failures, scoring a batch, the time spent on review and rework, and a lesson called Keep it human.

  • Is the contrast check the one from the course?

    No. It is a small calculation written for this page with an invented palette. It uses the published WCAG 2.x formula and the AA minimums for text and interface parts.

  • Do I get a certificate, and is it recognized?

    We offer certificates. Depending on the course, the Academy issues a certificate with a verification code. It is Mirage's own statement and the state does not recognize it as a degree. The course page shows what applies to this course.

Build one design system for your product.

Open the course page for the chapters, the lessons and the intro video, then start with chapter one.

Open the courseBrowse all courses