Back to work Client Work

HZN Design System

An internal design system that gives designers, PMs, and engineers one shared language

Role
Design System Planning、Token Architecture、Component Library、AI Workflow Design
Period
2026.05 – Ongoing
Client
Horizon Information (internal design system)
Scope
Design System、Design Tokens、AI Workflow

Screens have been anonymized

64s
1
Hand-edited source file
40
Shared components
3
Layout shells
2
Token tiers

Background & Challenge

Our delivery process used to be “PM writes the spec → designer draws mockups → engineer rebuilds it,” and something got lost at every handoff. Worse, every color or spacing change had to be made three times over — in the mockups, the spec, and the code.

The root cause was not that the mockups lacked detail; it was that the three roles never shared a single source. So I planned the HZN Design System: every design variable lives in one tokens.json, component styles share one SCSS codebase, and both PMs and engineers consume that same source directly. Change one file, and all three sides update together.

Design Decisions

A source view of tokens.json: the primitive palette (brand, gray, and more) on top and the light/dark semantic token sets below, each hex value annotated with its actual color swatch, plus type scale, spacing, radius, shadow, and breakpoint variables.
tokens.json syncs to SCSS and CSS through a build script, giving designers, PMs, and engineers one shared source.
The HZN design system component library page: a categorized index of 40 components on the left, with form inputs, buttons, tags, and their various states on the right
The component library: 40 shared components across forms, data display, navigation, and feedback — each with SCSS, HTML examples, and a 'when not to use this' note.
Step five of the HZN prompt builder, an interaction-behavior checklist, with a side panel previewing the assembled prompt in real time and offering one-click copy
A PM completes the five-step prompt builder and copies the prompt; an AI tool then reads the repo and generates an HTML prototype already wrapped in the correct shell.

Outcome & Reflections

The tokens, component library, layout shells, prototyping workflow, and Theme Studio are all in place; the next step is running the full process on a real project. The effect compresses into one sentence: change one token and all three roles stay in sync — PMs stop waiting on designers, designers stop chasing engineers, and engineers stop guessing at design intent.

I also repositioned Figma: it receives tokens one-way only, serving the exploration and communication phase before any code exists. Once something is in code, the code is the only master copy — there is no reverse mirroring to breed a second source of truth.

Looking back, the most valuable part of this project was the process of making architecture decisions in collaboration with AI. Whether tokens should be split into two tiers, why the cheatsheet is the AI’s single source of truth, why the AI is asked to “read the repo itself” instead of having rules pasted into the chat — every decision was settled through back-and-forth debate with AI. A design system is fundamentally its rules and boundaries, not the look of its components; articulating those rules clearly enough that neither the AI nor any of the three roles can misread them is this system’s real deliverable.