As design and growth groups develop and initiatives span throughout internet, cellular, and inside instruments, conserving all the pieces constant turns into tough. Even small modifications, like updating a model colour or adjusting spacing, can flip into hours of guide work throughout design recordsdata, codebases, and documentation. It’s simple for issues to float out of sync.
That’s the place design tokens are available. They’re a option to outline and reuse the important thing design choices like colours, typography, and spacing in a format that each designers and builders can use. As a substitute of repeating values manually, tokens let groups handle these choices from a central place and apply them constantly throughout instruments and platforms.
With Penpot’s new native help for design tokens, this workflow turns into extra accessible and higher built-in. Designers can now create and handle tokens straight inside their design recordsdata. Builders can depend on those self same tokens being structured and out there to be used in code. No plugins, no copy pasting, no mismatched types.
On this article, we are going to have a look at what design tokens are and why they matter, stroll by way of how Penpot implements them, and discover some actual world workflows and use instances. Whether or not you might be working solo or managing a big design system, tokens might help convey order and readability to your design choices—and we are going to present you ways.
What are Design Tokens?
Design tokens are a option to describe the small however vital visible choices that make up your consumer interface. Issues like main colours, heading sizes, border radius, or spacing between components. As a substitute of hardcoding these values in a design file or writing them straight into code, you give every one a reputation and retailer it as a token.
Every token is a small piece of structured knowledge. It has a reputation, a price, and a sort. For instance, a button background is perhaps outlined like this:
"button-background": {
"$worth": "#005FCC",
"$sort": "colour"
}
By placing all of your choices right into a token format like this, they are often shared and reused throughout totally different initiatives and instruments. Designers can use tokens contained in the design software, whereas builders can use them to generate CSS variables, theme recordsdata, or design system code. It’s a option to maintain everybody aligned, with no need to sync manually.
The concept behind tokens has been round for some time, however it’s usually arduous to implement except you might be utilizing very particular instruments or have customized workflows in place. Penpot modifications that by constructing token help straight into the software. You do not want additional plugins or complicated naming methods. You outline tokens as soon as, and they’re out there in all places in your design.
Tokens are additionally versatile. You’ll be able to create easy ones like colours or font sizes, or extra complicated teams for shadows, typography, or spacing methods. You’ll be able to even reference different tokens, so in case your design language evolves, you solely want to vary one factor.
Why Ought to You Care About Design Tokens?
Consistency and effectivity are two of the principle causes design tokens have gotten important in design and growth work. They cut back the necessity for guide coordination, keep away from inconsistencies, and make it simpler to scale design choices. Right here is how they assist throughout totally different roles:
For designers
Tokens take away the necessity to repeat your self. As a substitute of manually making use of the identical colour or spacing throughout each body, you outline these values as soon as and apply them as tokens. Which means no extra copy-pasting types or fixing inconsistencies later. Every part stays constant, and updates take seconds, not hours.
For builders
You get design values in a format that is able to use. Tokens act as a shared language between design and code, so as an alternative of pulling hex codes out of a mockup, you’re employed straight with the identical values outlined by the design staff. It reduces friction, avoids mismatches, and makes handoff smoother.
For groups and bigger methods
Tokens are particularly helpful when a number of persons are engaged on the identical product or when you’re managing a design system throughout a number of platforms or manufacturers. They will let you outline choices as soon as and reuse them in all places, conserving issues in sync and simple to replace when the model evolves or when new platforms are added.
Watch this fast and full demo as Laura Kalbag, designer, developer and educator at Penpot, highlights the important thing advantages and most important makes use of of Penpot’s design tokens:
What Units Penpot Aside?
Penpot is not only including help for design tokens as a separate function. Tokens are being constructed straight into how Penpot works. They’re a part of the core design course of, not an additional software it’s a must to handle on the facet.
You’ll be able to create tokens from the canvas or from the token panel, manage them into units, and apply them to elements, types, or complete boards. You do not want to maintain monitor of the place a price is used—Penpot does that for you. Whenever you change a token, any part utilizing it updates robotically.
Check out this actually nice overview:
Tokens in Penpot comply with the identical format outlined by the Design Tokens Group Group, which makes them simple to sync with code and different instruments. They’re saved in a method that works throughout platforms, and they’re constructed to be shared, copied, or prolonged as your challenge grows.
You additionally get additional capabilities like:
- Tokens that may retailer textual content, numbers, and extra
- Math operations between tokens (for instance, spacing that’s primarily based on a base worth)
- Integration with Penpot’s graph engine, so you may outline logic and situations round your tokens
Which means you are able to do extra than simply retailer values—you may create methods that adapt primarily based on context or scale along with your product.
Key options

Design tokens in Penpot are constructed to be sensible and versatile from the beginning. Whether or not you might be establishing a easy fashion information or constructing a full design system, these options allow you to keep constant with out additional effort.
- Native to the platform
Tokens are a core a part of Penpot. You do not want plugins, workarounds, or naming tips to make them work. You’ll be able to create, edit, and apply them straight in your recordsdata. - Primarily based on open requirements
Penpot follows the format outlined by the Design Tokens Group Group (W3C), which suggests your tokens are transportable and prepared for integration with different instruments or codebases. - Element conscious
You’ll be able to examine which tokens are utilized to elements proper on the canvas, and replica them out to be used in code or documentation. - Helps a number of varieties
Tokens can signify strings, numbers, colours, font households, shadows, and extra. This implies you aren’t restricted to visible values—it’s also possible to handle logic-based or structural choices. - Math help
Outline tokens in relation to others. For instance, you may set a spacing token to be twice your base unit, and it’ll replace robotically when the bottom modifications. - Graph engine integration
Tokens might be a part of extra superior workflows utilizing Penpot’s visible graph engine. This opens the door for conditional styling, dynamic UI variations, and even generative design.
Sensible Use Instances
Design tokens are versatile constructing blocks that may help a spread of workflows. Listed below are a couple of methods they’re already proving helpful:
- Scaling throughout platforms
Tokens make it simpler to keep up visible consistency throughout internet, cellular, and desktop interfaces. When spacing, colours, and typography are tokenized, they adapt throughout display sizes and tech stacks with out guide rework. - Creating themes and variants
Whether or not you’re supporting mild and darkish modes, a number of manufacturers, or regional types, tokens allow you to swap out complete visible types by altering a single set of values—with out touching your elements. - Simplifying handoff and implementation
As a result of tokens are outlined in code-friendly codecs, they get rid of guesswork. Builders can use tokens as source-of-truth values, lowering design drift and pointless back-and-forth. - Prototyping and iterating shortly
Tokens make it simpler to discover design concepts with out breaking issues. Wish to check out a brand new font scale or replace your colour palette? Change the token values and all the pieces updates—no tedious find-and-replace wanted. - Versioning design choices
You’ll be able to monitor modifications to tokens over time identical to code. Which means your design system turns into simpler to keep up, doc, and evolve—with out shedding management.
Your First Tokens in Penpot
So how do you really work with tokens in Penpot?
One of the simplest ways to know design tokens is to strive them out. Penpot makes this surprisingly approachable, even should you’re new to the idea. Right here’s the best way to begin creating and utilizing tokens contained in the editor.
Making a Token
- Open your challenge and click on on the Tokens tab within the left panel.
- You’ll see an inventory of token varieties like colour, dimension, font dimension, and so on.
- Click on the + button subsequent to any token sort to create a brand new token.
You’ll be requested to fill in:
- Identify: One thing like
dimension.small
orcolour.main
- Worth: For instance,
8px
for a dimension, or#005FCC
for a colour - Description (elective): A brief observe about what it’s for
Hit Save, and your token will seem within the listing. Tokens are grouped by sort, so it stays tidy at the same time as your set grows.
If you happen to attempt to create a token with a reputation that already exists, you’ll get an error. Token names should be distinctive.

Enhancing and Duplicating Tokens
You’ll be able to right-click any token to edit or duplicate it.
- Edit: Change the identify, worth, or description
- Duplicate: Makes a replica with
-copy
added to the identify
Helpful should you’re exploring options or establishing variants.
Referencing Different Tokens (Aliases)
Tokens can level to different tokens. This allows you to outline a base token and reuse it throughout a number of different tokens. If the bottom worth modifications, all the pieces that references it updates robotically.
For instance:
- Create a token known as
dimension.small
with a price of8px
- Create one other token known as
spacing.small
- In
spacing.small
, set the worth to{dimension.small}
Now should you ever replace dimension.small
to 4px
, the spacing token will mirror that change too.
Token references are case-sensitive, so be exact.

Utilizing Math in Tokens
Penpot helps basic math in token values—particularly helpful for dimension tokens.
You’ll be able to write issues like:
{dimension.base} * 2
16 + 4
{spacing.small} + {spacing.medium}
Let’s say dimension.base
is 4px
, and also you need a bigger model that’s all the time double. You’ll be able to set dimension.massive
to:
csharpCopyEdit{dimension.base} * 2
This implies should you ever change the bottom, the big dimension follows alongside.
Math expressions help primary operators:
+
addition-
subtraction*
multiplication
This provides a light-weight logic layer to your design choices—particularly helpful for spacing scales, typography ramps, or breakpoints.

What’s Subsequent for Penpot Design Tokens?
Penpot has an thrilling roadmap for design tokens that may proceed to develop their performance:
- GitHub Sync: A function permitting groups to simply export and import design tokens, facilitating easy collaboration between design and growth groups.
- Gradients: An upcoming addition to design tokens, enabling designers to work with gradients as a part of their design system.
- REST API & Automation: The longer term addition of a REST API will allow even deeper integrations and permit groups to automate their design workflows.
Since Penpot is open supply and works underneath a tradition of sharing as a lot as they’ll, as early as doable, you may take a look at their open Taiga board to see what the staff is engaged on in actual time and what’s developing subsequent.
Conclusion
Penpot’s design tokens are greater than only a software for managing visible consistency—they’re a game-changer for the way design and growth groups collaborate. Whether or not you’re a junior UI designer making an attempt to be taught scalable design practices, a senior developer seeking to streamline design implementation, or an enterprise staff managing a posh design system, design tokens might help convey order to complexity.
As Penpot continues to refine and develop this function, now’s the right time to discover the chances it gives.
Give it a strive!
Are you enthusiastic about Penpot’s new design token function? Examine it out and discover the potential of scalable design, and keep tuned for updates. We stay up for see how you’ll begin incorporating design tokens into your workflow!