UX Design

Building a Scalable Illustration System for Lyric

Teaching a generative model to hold a brand line across empty and error states

Overview

A brief TL;DR

Org
Lyric
Year
2026 (Feb) · 1 month
Role
Visual Designer
Product Designer
Team
Product design team
Shoutout to Athira & Anshul for their guidance on this project

Lyric is a math-heavy product built for function over form, so its visual side — including empty and error states — sat in the backlog for a long time.

I tackled that by building an AI workflow that creates on-brand product illustrations (a Claude skill to ideate, a Gemini skill to render) and fitting them into our well-defined design system.

By the time the engagement ended, about 10 illustrations had shipped in one visual language, some reused across the product, signed off by the design lead and founder.

Context

A backlog nobody had owned.

Lyric is an AI-native platform that helps supply chain teams make decisions, built from four verticals inside one product.

Each vertical has its own empty and error states — screens shown when something is missing, not yet populated, or broken. They had never been prioritised. And for the ones where the illustrations existed, they were not consistent across the product. Lyric’s broader design revamp finally gave them room on the roadmap.

Inconsistent product illustrations
Three old empty states: a purple 3D cube for No Notes, a flat blue icon for No bridges, and a wireframe funnel for No tables
New product illustrations
The same three empty states redrawn in one grey isometric block style: stacked cubes, a chain of blocks, and a database beside a table grid

Problem

Too many screens, too strict a brand

Broader problem

Current Empty and error state screens weren’t helpful — they didn’t explain why a screen was empty, what had gone wrong, or what to do next.

Specific problem

More than 20 empty and 20 error states in a single vertical, with four verticals in all — far too many to illustrate by hand.

Constraints

Scale

40+ states in one vertical alone; four verticals in all.

Brand

Every illustration had to hold Lyric’s fixed palette and shape rules — no personal visual liberty.

Cohesion

The whole set had to share one metaphor language. A “computer” on one screen and “food” on the next would read as unrelated screens, not one system.

Tooling

Gemini couldn’t reliably generate certain abstract concepts on its own.

Review

The design lead and the founder both weighed in; reaching a signed-off direction took real back-and-forth.

The challenge

Cover every empty and error state across four verticals, faster than hand-drawing allows, without letting a generative model drift off-brand or off-metaphor.

Solution

Three possible ways to illustrate 40+ screens.

Hand-illustrate every state

Full control over every drawing

A non-starter at 40+ states in one vertical alone

Keep the existing set

Costs nothing — it was the status quo

It was the problem: inconsistent, unpolished, and silent on why the state appeared

Chosen workflow

Build two constrained AI skills

  • Scales to the volume
  • Holds one brand line and one metaphor language across the set
  • Every output needed manual post-processing before it was usable
  • Some outputs came back off-brand and needed rework
  • Some abstract concepts wouldn’t render at all
  • A person still had to check every image

Semi-automated AI-powered illustration pipeline

I didn’t want a model deciding what each state should say, so I split the work into two skills with people in the middle for decision-making.

Below is the workflow that we followed:

Workflow: describe the screen’s empty or error state → Claude skill proposes visual ideations → designer or PM picks the concept that fits → Gemini skill renders it using references, palette and shape rules → approved illustration is added to the reference set, and every approved illustration flows back into the reference set

Key insight

Every illustration we approved went back into the Gemini skill’s reference set. The more we shipped, the better it got at staying on-brand.

The style rules

Giving the model a style guide

Claude skill guide

Ideation inspired by icon design principles

I borrowed the principle used for icons: break the state’s core word into its literal and emotional meanings. The word goes in the centre and branches three ways.

  • Literal — objects tied directly to it (e.g. Settings → gear, wrench, slider)
  • Metaphorical — abstract ideas that stand for it (e.g. Security → shield, lock, key, guard dog, fortress)
  • Action-based — what the person does (e.g. Search → magnifying glass, flashlight, looking glass)

The harder part was keeping the picks coherent as a set. A shield sits fine next to a gear; a guard dog is too playful. Binoculars work for search; a lighthouse breaks the theme. Every pick had to feel familiar without turning technical or losing a professional tone.

Gemini skill guide

3 inputs for every render.

  • Reference images — a set that grew with every illustration approved
  • A JSON prompt
  • Palette from Lyric’s design system
Inputs given to Gemini
Inputs given to Gemini: a grid of isometric style references, plus a JSON prompt describing an isometric black and white modular style, plus the light and dark surface and disabled colours from Lyric’s design system

Finding a good balance between technical and playfulness.

First iteration — testing the thematic spectrum.

  • A spread of directions, from playful to technical, to find where Lyric should sit
  • Input from the design team, the founder and marketing leadership
  • The design lead and founder pushed back on two things: visual tone and how easy the illustrations were to understand
Thematic spectrum
Playful: a cartoon flashlight beam for No Lyric Notes found A glossy 3D magnifying glass A magnifying glass over blurred UI rows Technical: an abstract lightning icon in nested squares

Second iteration — simpler, less cartoonish, two levels of detail.

  • We went with a theme that goes well with how we build solutions using Lyric and also sticks to our brand - building blocks aesthetic
  • The team was split on the level of detail, so we set two tiers:
    • Full-page error and empty states: more detailed
    • Small empty modules (an empty tab or box inside a bento layout): less detail, so the illustration doesn’t compete with the data around it
  • The second iteration was also easier to vectorize on Figma after importing it from Gemini
Two tiers: a detailed block-built magnifying glass for full page screens, and a minimal version for smaller modules

The system

Creating a system for the module

Every state had to be actionable: people should see why it happened and what to do next. Illustrations alone don’t do that — the layout around them does. One module for every empty and error state: image, copy and button, with fixed padding, spacing and image sizing.

Spec of the 404 module: 229px wide illustration area 132px tall, 20px to the title, 8px to the description, 32px to a 125 by 44 Go home button, 32px padding

Retrospective

Signed off, shipped, still live.

The design team, the design lead and the founder reviewed the set after real back-and-forth, signed it off, and it’s live in the product today. I don’t have usage or support data tied to this change — the evidence is expert review, not user behaviour.

About 10 illustrations had shipped by the time the engagement ended, and some were reused across the product — the library doing its job. That’s a start on the backlog, not the whole of it.

Takeaways

Constraints are the prompt.

Gemini held Lyric’s brand line only with reference images, a fixed palette and shape rules — open-ended prompting drifted.

Automation moved the judgement, not removed it.

I spent less time drawing and more time choosing concepts and checking every output against the brand — and sometimes the best idea still came from a person.

Know when to stop prompting.

For concepts the model couldn’t render, a stock seed regenerated in brand style beat another round of prompt tuning.

What I’d do differently

One tool, not two skills and a cleanup step.

I’d fold ideation and illustration into a single Figma plugin: select a screen or module, add the context, and get a few illustrated ideas back.

Turn the decisions we made by hand into controls.

A setting for tone, from playful to technical (with room for the occasional playful one), and a toggle for the two detail levels.

Open it to the whole team.

Anyone in design or engineering could create an illustration for a new state and add it themselves — after review.