Building a Design System from Scratch

  • Design Systems
  • Visual Design
  • UI Design
Year

2026

Role

Product Designer

Summary

This is a design system I built from scratch to speed up the iteration process of my other digital product designs. Yes, this involved color and typography exploration before mapping those to multiple layers of variables, tokens, and themes, and then creating responsive components.

Challenges

Design systems typically require perpetual attention due to their complexity, virtually endless scope due to upgrades and additions that align with brand and product needs, potential bugs, and their general importance to the products built from them.

A screenshot of some of the variables, including light and dark mode. A screenshot of some of the variables, including light and dark mode

Screenshot of the color grid. The color grid

In my color explorations, I used HSL mode and adjusted hues on the color spectrum to create each color group (e.g. 280 for “Purple”) and then adjusted the light values to create the levels within each color group (e.g. “Red 100”).

Screenshot of typography explorations featuring the Avenir Next typeface. Type exploration screenshot

The sets of Avenir Next text show initial typography explorations, but the text styles in the right menu show what the type values ended up being after some necessary adjustments that came from creating components. I used Typescale.com and Baseline.is to begin setting font sizes. I adjusted those sizes to the nearest 4px multiples to create the final font sizes.

Screenshot of the Button, Icons, and List Row components in light mode. Basic components in light mode

Screenshot of the Button, Icons, and List Row components in dark mode. Basic components in dark mode

Screenshot focusing on the Icons component collection in light mode. Icons in light mode

I created every icon from scratch (see: icon iterations two screenshots down). Icons are one of the most underrated assets of any design system. Many design systems begin by using off-the-shelf options like mapping them in from Google’s Materials Design library understandably due to the maturity of that system. But I create my own icons to maintain more control over this design system.

Screenshot focusing on the Icons component collection in dark mode. Icons in dark mode

Screenshot of icon iterations. Icon iterations

This is a behind-the-scenes screenshot of iterations for several icons. Some icons like Info or Edit only required one initial drawing using Figma’s pen tool, but more complicated icons like Upload or Document required multiple drawings, which is why the ones I selected are within green boxes. After the initial pen tool drawings I converted everything to outlines wherever necessary, unioned the parts into single shape, flatted the shape, and then adjusted constraints and locked aspect ratios to ensure that the icons resize properly. I also gave the name “Vector” to the shape within each and every icon to ensure every icon’s fill responds correctly to the color variations of different modes and component variants.

Screenshot of the Comment Thread component group in light mode. Comment Thread component group in light mode

This is the first of probably many mid and large size component groups that are larger and more sophisticated than basic components like buttons or icons. These larger components help drive the design system forward by illustrating how well more basic components fit together within common practical experiences as well as creating a demand for new components (see: comment section building blocks two screenshots down).

Screenshot of the Comment Thread component group in dark mode. Comment Thread component group in dark mode

Screenshot of the Comment component building blocks in light mode. Comment component building blocks in light mode

Creating a comment thread interface necessitated the creation of additional components, including: Avatar Large, Avatar Small, and Likes and Dislikes. The great thing about creating small components is that you usually only have to do it once, and then those components can be reused in other experiences. And the value of creating mid and large components such as Comment and Comment Thread is that they reveal fundamental assets missing from the design system.

Screenshot of the Comment component building blocks in dark mode. Comment component building blocks in dark mode