How design tokens impact design systems and why we should use them (2024)

By Better Design System team

Design tokens are a hot subject right now. As system designers and developers, we talk in tokens all the time. But what are these tiny building blocks with their lengthy names and what does embracing them mean for consistency, scalability, efficiency, and collaboration in our design systems?

What are design tokens

Design tokens are central, tiny pieces of UI information that store design related information such as colours, typography, spacing, and more. They are the foundation of a design system; the building blocks that define the visual characteristics and properties of a design. By encapsulating design properties within design tokens, we achieve a modular and scalable design system.

How design tokens impact design systems and why we should use them (1)

A simple component such as button holds many types of UI information, stored in tokens.

Naming conventions for design tokens

The concept of design tokens was created by Salesforce and the name coined by Jina Anee. As Jina puts it: “Design tokens are visual atoms of the design system — specifically, they are named entities that store visual design attributes. We use them in place of hard-coded values, in order to maintain a scalable and consistent visual system.”

You can think of design tokens as nicknames used instead of the actual values that can get lost in communication. Token names follow a specific naming convention that tells you where and when to use them, without needing to know their actual value.

How design tokens impact design systems and why we should use them (2)
The token above says quite a lot. Both designers and developers can understand it without looking at the documentation or value. They can see that it's a token meant for color. It also suggests that there may be different versions to indicate hierarchy (primary), and it communicates that it targets a specific object.


The benefits of introducing design tokens

Adopting design tokens brings numerous advantages for both system designers and developers. Here are some of the key benefits:

Consistency
Design tokens act as a single source of truth, ensuring a consistent visual experience across different elements, interfaces, and platforms. By relying on established design tokens, designers can avoid visual inconsistencies and save time on manual adjustments.

Scalability
Design tokens are like magic when it comes to scaling and updating design systems. As businesses grow and change, it can be tricky and time-consuming to keep all the design elements consistent. But you make a change to a design token, that change automatically applies to all the components and interfaces that use that token.

And just like that, all the screens in your product get updated, with no need for manual changes. This allows for efficient design and system maintenance, facilitates repeatability, and provides a seamless experience.

Efficiency
Design tokens make the process of designing and developing more efficient by separating design properties from their specific use. This means designers can focus on defining and editing design tokens, while developers can conveniently access and incorporate them into their code. Clear documentation and accessible design tokens help designers and developers work better together. This saves time, avoids misunderstandings, and speeds up the project.

Documentation and governance
Design tokens serve as valuable documentation for design systems, providing a comprehensive reference guide for design properties, guidelines, and best practices. They ensure a consistent flow of information, support proper implementation, and facilitate onboarding for new team members.


Doing it manually

Now we can share how we started this process. We did the design token implementation the old-fashioned way: manually. This meant designers and developers had to manually agree on naming conventions for each token, and developers had to write code for each individual token.

As our design system grew in complexity, this manual approach became time-consuming and prone to errors, especially considering the hundreds, if not thousands, of design tokens involved. Maintaining consistency between design tokens and the actual designs created in tools like Sketch or Figma were also a challenge.


Figma to the rescue

We turned to Figma, as our primary design tool, for help. Figma not only made designing easier but also provided support for design tokens through plugins.

Setting up a precise structure for design tokens was crucial for a successful implementation. This involved organising the design tokens into groups, establishing clear naming conventions, and using aliases (aliases provide additional labels or identifiers that can be used to refer to the tokens in a more intuitive and descriptive way).

By doing so, we ensured that the design tokens generated by Figma aligned with the requirements and expectations of developers.


Automating Design Tokens for Effortless Integration

In the next phase, we are automating our design tokens. This process involves generating design tokens directly from Figma, which simplifies their incorporation into our code and has an immediate impact on the design of our applications.

An automated approach enables developers to get design information in a ready-to-use format, minimising the need for additional programming when adding new design token groups to Figma.

How design tokens impact design systems and why we should use them (3)

Token studio is an essential plugin for Figma that helpsbridge the gap between design and development. Tokens are synced with Storybook,there is only one source of truth.


What’s next

Through the use of automation and leveraging Figma's design token support, we have successfully streamlined the implementation process of design tokens. The benefits of this are:

  • Reduced manual efforts (Tasks that previously required significant time and effort, such as naming conventions, code writing, and updating design information, are now automated or simplified).
  • Improved collaboration between designers and developers.
  • Consistent and up-to-date design system across multiple applications and platforms.

    As we continue to make significant progress in this area, we have plans to implement additional features and improvements in the future, further enhancing the automation process.

Resources:

Introduction to design tokens

Design tokens for dummies

Design tokens cheatsheet

Design, design system

Share this content

How design tokens impact design systems and why we should use them (2024)

FAQs

How design tokens impact design systems and why we should use them? ›

Design tokens are vital for capturing all the design decisions utilized within your design system. These decisions cover a variety of elements that define your product and brand, such as colors, text, borders, and animations.

Why use tokens for design systems? ›

Why are tokens important? Tokens enable a design system to have a single source of truth. They provide a kind of repository for recording and tracking style choices and changes.

What are the value of design tokens? ›

Each design token has a unique name and its corresponding value. This name/value pairing is similar to a dictionary data structure found in engineering, where a key is associated with a value, and the key/value pair can be used to store and retrieve data.

What is the impact of design system? ›

Design systems boost the return on investment (ROI) of product development. Selecting apt KPIs allows teams to assess time saved, product consistency, and customer satisfaction. In today's competitive digital landscape, design systems provide valuable advantages for businesses.

Why is it beneficial to use a design system? ›

A design system helps product teams define and standardize visual elements like color, typography, spacing, and imagery. These elements express the heart and soul of your brand and form a visual language.

What are the benefits of token system? ›

Token economies help students to visualize progress, accept and work for delayed reinforcement, learn to self-monitor, and learn to regulate behavior.

Why are tokens useful? ›

Tokens have virtually no value on their own. They are only useful because they represent something valuable, such as a credit card primary account number (PAN) or Social Security number (SSN).

How do developers use design tokens? ›

The designer makes a style update in a design tool. A design tokens generator automatically updates a centralized repository by generating platform-specific files (CSS, JSON or YAML). Engineers fetch the updated repository, incorporate any new tokens, and automatically update the project styles.

What is the difference between design tokens and styles? ›

Styles vs Tokens

Styles and tokens are both ways to store and manage design elements in Figma. However, they have different strengths and weaknesses. Styles are more flexible and can be used to store a wider variety of values. For example, you can use styles to store colors, fonts, spacing, and even animations.

What is the difference between variables and design tokens? ›

Besides some technical differences, the main feature when it comes to variables is that when you want to use design tokens, a style isn't guaranteed to work as a source of truth, while a variable can do so, which is one of the core goals of having a design system.

Why should we use system design? ›

By defining clear interfaces and protocols, system designers can help ensure that components can communicate with each other and share data as needed. To Reduce Risks: System design helps to reduce risks associated with system failures, security breaches, and other issues.

What is a design system used for? ›

At its core, a design system is a set of building blocks and standards that help keep the look and feel of products and experiences consistent. Think of it as a blueprint, offering a unified language and structured framework that guides teams through the complex process of creating digital products.

How does design impact us? ›

It is through design that we can transform ideas into tangible products and experiences that improve our quality of life. Whether it's the sleek design of a smartphone or the functional layout of a workspace, design influences how we interact with the world around us.

What is the value of design systems? ›

A design system can also be useful in helping developers produce code that is more visually consistent with the design, which Sparkbox observed through their experimentation explaining that “using a design system helped [their] developers produce code that was more visually consistent with the design.” They also noted ...

Why do we need a well-designed system? ›

By designing a system properly, you can ensure that it is scalable, maintainable, and able to meet the needs of its users. A well-designed system can save time and money in the long run by avoiding costly rework and making it easier to add new features or make changes.

What are 2 benefits of using a design process? ›

Establishing a design process improves team collaboration, increases the quality and speed of your design work, and makes it more likely that everyone – especially your end users – is happy with your final designs.

What is the purpose of a token in programming? ›

In the computer programming industry, a token can be described as the building block of a programming language. There are five categories of tokens including constants, identifiers, operators, separators, and reserved words that can be used to write computer code.

Why do we need access tokens? ›

Access tokens are used in token-based authentication to allow an application to access an API. The application receives an access token after a user successfully authenticates and authorizes access, then passes the access token as a credential when it calls the target API.

Why tokens are used in API? ›

An API token is a unique identifier used to authenticate a user or application to access an API. It is created by the service provider and must be included in every API request to authorize access to protected resources.

What are the best practices for design system tokens? ›

Design Token Naming Principles

Make use of context: Include context about the token's usage, such as the component to which it applies or its role in the design system. Keep it brief: Aim for names that are brief and memorable, as well as easy to type and read. Avoid names that are too long or too complicated.

Top Articles
The $630 Billion Active-ETF Boom Is Dominated by Top 10 Players
6 Ways to Turn Trader Joe's Cauliflower Gnocchi Into a Mouthwatering Dinner
123Movies Encanto
Nehemiah 4:1–23
Chatiw.ib
Marist Dining Hall Menu
Victoria Secret Comenity Easy Pay
Bed Bath And Body Works Hiring
U.S. Nuclear Weapons Complex: Y-12 and Oak Ridge National Laboratory…
Are They Not Beautiful Wowhead
Blackwolf Run Pro Shop
Palm Coast Permits Online
E22 Ultipro Desktop Version
U Break It Near Me
Bridge.trihealth
Erica Banks Net Worth | Boyfriend
Walgreens Alma School And Dynamite
Transactions (zipForm Edition) | Lone Wolf | Real Estate Forms Software
Company History - Horizon NJ Health
Yosemite Sam Hood Ornament
Scripchat Gratis
Bolly2Tolly Maari 2
Cona Physical Therapy
Lbrands Login Aces
Miles City Montana Craigslist
Mastering Serpentine Belt Replacement: A Step-by-Step Guide | The Motor Guy
Poe T4 Aisling
APUSH Unit 6 Practice DBQ Prompt Answers & Feedback | AP US History Class Notes | Fiveable
Chadrad Swap Shop
60 Second Burger Run Unblocked
Tra.mypatients Folio
Bus Dublin : guide complet, tarifs et infos pratiques en 2024 !
Where Do They Sell Menudo Near Me
Crystal Mcbooty
Imperialism Flocabulary Quiz Answers
Evil Dead Rise (2023) | Film, Trailer, Kritik
Prior Authorization Requirements for Health Insurance Marketplace
511Pa
What to Do at The 2024 Charlotte International Arts Festival | Queen City Nerve
John M. Oakey & Son Funeral Home And Crematory Obituaries
Stosh's Kolaches Photos
R/Gnv
25 Hotels TRULY CLOSEST to Woollett Aquatics Center, Irvine, CA
Automatic Vehicle Accident Detection and Messageing System – IJERT
Marine Forecast Sandy Hook To Manasquan Inlet
Concentrix + Webhelp devient Concentrix
Uno Grade Scale
Okta Hendrick Login
Strange World Showtimes Near Century Federal Way
라이키 유출
Latest Posts
Article information

Author: Dan Stracke

Last Updated:

Views: 5969

Rating: 4.2 / 5 (63 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Dan Stracke

Birthday: 1992-08-25

Address: 2253 Brown Springs, East Alla, OH 38634-0309

Phone: +398735162064

Job: Investor Government Associate

Hobby: Shopping, LARPing, Scrapbooking, Surfing, Slacklining, Dance, Glassblowing

Introduction: My name is Dan Stracke, I am a homely, gleaming, glamorous, inquisitive, homely, gorgeous, light person who loves writing and wants to share my knowledge and understanding with you.