Angled collage of UNI UI library components
Back to work

Design systems · UI library · UNI.xyz

UI library

Building to scale, one element at a time

Type
UI library
Duration
Sep ’19 – Mar ’21
Tools
Figma, Adobe XD
Client
UNI.xyz
Status
Live

A shared language for the platform.

Creating a UI library for UNI.xyz's in-house design system.

Background

A design system includes principles, philosophy, guidelines and assets. This case study focuses on one part of UNI's: the UI library I built.

The starting point

It started with two buttons.

The UI library began as a way to stop repeating work. At UNI, each element was designed from scratch, which added design and development time and let inconsistencies creep in; one page I audited used nine font styles. To save time and keep things consistent, I started a file of UI elements I could copy whenever I needed them. It started with two buttons and stayed that way for nearly a month.

The UI library three months after it started.

Task

Next, I took on a cohesive, detailed UI library and design system for the entire web platform, across devices. It was first meant to speed up design, and later to become a reference for development.

Learning how a system scales.

I started with no prior knowledge of UI kits; it was just a way to save time. I grouped elements into atoms, molecules and compounds, and called the rules for creating and using them “chemistry”. Only when I began researching design systems did I realise this closely matched the principles of atomic design.

The subject caught my interest, and I studied several design systems to learn how to build one that scales. These were some of the most useful:

Findings

A UI library is usually a central collection of elements that can be reused anywhere with little or no adjustment. But keeping every element in one file caused problems with scaling, change logs and collaboration. Spotify's design system showed me a way to solve that.

Outgrowing the first file.

I started with every element in a single file but soon realised it wouldn't work, and Adobe XD wasn't designed to be used that way. Once the file hit its limits, I split the library into multiple files.

Challenges

Most challenges came from the design tool, Adobe XD. Eventually, using elements from the library became almost impossible, which defeated its purpose. Thanks to Spotify's and other public design systems, I was confident about the structure, but the tool held it back. I also had to plan for collaboration: I was the only designer on the platform team for a long time, but that wouldn't last.

Moving to Figma

For a while, I stayed with Adobe XD, because migrating would take a lot of work under tight deadlines. But as the system started to suffer, a change became unavoidable, and we moved to Figma.

Figma worked differently, but the principles stayed the same: elements organised by type and kept together.

The library, organised for everyday use.

The final library was a Figma file organised by element type, with mostly interlinked components and shared properties such as colour and typography. A UI library is never finished, but it became an integral part of the team's process.

A few sections are shown below. Close-ups are omitted to protect UNI's rights.

The library had more than ten other categories, covering almost every element on the platform.

Impact

A time-saving hack became shared infrastructure.

What started as a time-saving hack soon became essential to UNI's growth. Early on, we recorded a 70% reduction in design time, and development later saw similar gains. The platform became far more visually coherent.

By the time I left, the library had about 900 elements. Across more than eight very different sections of the platform, it kept the experience consistent.