USWDS Design Tokens Guide

Overview

 

The purpose of this project is to provide lessons learned and guidance on how designers can progressively understand and apply the use of design tokens in their work — ultimately increasing adoption of the U.S. Web Design System (USWDS) among digital services teams working on government websites.

To inform the content in the guide, we interviewed multiple waves of UX/UI Designers to gauge their understanding and experience with USWDS design tokens, as well as ran usability tests of the finished guide. We discovered that all the designers are aware of tokens, but not all of them understand how to incorporate tokens into their work. Our guide aimed to address all designers that fall along the spectrum of design token newbie to token master.


Design tokens are an important part of design systems.

 

They allow for both useful constraints and creative flexibility when either building a new system or working within an existing one.

While designers seem generally familiar with design tokens and know that they are a part of the U.S. Web Design System (USWDS), they usually are not incorporating the use of them in their workflows and collaboration with developers.

Mostly all of the guidance currently available on design tokens is geared to developers, not designers, making it more difficult to understand and use.

This is a missed opportunity to realize the full potential of USWDS and its role as a common language between design and implementation.

We want to close the knowledge gap between design and development.

 

Many designers can become increasingly frustrated when their designs are misinterpreted by developers. Similarly, developers can become frustrated when designers misunderstand how the web works and how to build responsive, accessible sites.

Designers can have more control and contribute more to the development process by understanding tokens. When looking at the work of two UI designers with varying knowledge of tokens at my company, the designer who better understands and implements tokens when explaining their designs to developers consistently has better end products that are far more closely aligned with their designs.

developer and designer talking about tokens

So I decided to create a guide for my team.

 

My team and I created a microsite to document guidance on how designers can progressively understand and apply the use of design tokens in their work.

The guide includes two main components:

  • Maturity model“-style content meant to progressively increase the use of design tokens.

  • Learning resources. Many designers mentioned during our prior interviews that they learn best while doing, so the resources are interactive to best serve the designers and also business development.

The USWDS maturity model inspired the decision to create a guide that encourages progressive adoption of design tokens. Through usability testing USWDS’s explanation of design tokens, we noticed a lot of gaps and barriers to entry. The language of USWDS is very much geared towards developers, making it difficult for designers to easily understand.

 

The Design Tokens Guide

The guide is split up into three main sections. The idea is to learn one section at a time to progressively adopt an understanding and ultimately use design tokens.

I presented the new guide to my design team during one of our bi-weekly team meetings. We used a template created in CodePen as the interactive part of our presentation so designers were able to interact with the tokens and ask questions in real-time. Overall, the guide was well-received and the implementation has proved to be especially useful for our UI Designers.

 
 
  • Before wrapping your head around what they are, understand why you should use them. This section serves as an intro to tokens and how they can benefit the designer-developer relationship.

  • After understanding why you should incorporate tokens, learn the vocabulary/syntax. This section dives into the specific types of tokens, starting with easier-to-understand color tokens, to typography, layout and spacing. Readers should start to grasp what exactly a token is and how they might use them.

  • In the last section, we encourage readers to put their knowledge to the test. We offer interactive templates so that designers can see how tokens transform their designs. It includes USWDS in Figma, Color Token Template in Figma, USWDS Boilerplate in CodePen, and guidance on how to use the tokens plugin in Figma.

 
 
typography token inforgraphic
color token infographic

The toolbox

 

The site was created using Github, Jekyll, HTML, markdown, and the United States Web Design System.

I used Figma to ideate and Github and Microsoft Teams to collaborate.

More about Jekyll and the approach: Jekyll is a tool used for building static webpages. I can add content using Markdown (a simple, readable language) and then Jekyll can help to build the basic HTML structure. It makes building reusable templates and adding content very simple for designers. For this project, I created my own HTML structure when necessary and used USWDS to further customize and make it responsive.

Templatize

 

An underlying goal of all the projects that my team takes on is to make rapid prototyping in code more approachable to designers. Using Jekyll and easy-to-read Markdown language makes this an approachable template that designers can use to quickly prototype a similar website.

The best way to learn something is to teach it.

 

Creating and presenting this guide helped build my understanding of design tokens and my reputation on the design team as a ‘USWDS expert.’

I also published my first Figma community file. One of my goals as a designer is to contribute to the design community as a whole and increase knowledge sharing across the industry. Creating this Figma community file was one of my first steps in that direction.

Previous
Previous

The EAT School Branding

Next
Next

Bixal Brand Guide