Skip to content

Creating and editing tokens

Guide2026-07-27

Everything that happens in the token dialog.


Creating a token

Select a token set in the tree, then press + in the panel header. The dialog opens with that set pre-filled.

FieldNotes
Token setChoosing a set is only possible while creating. In edit mode the set is shown read-only
TypeGrouped into Basic and Composite. Determines everything below
NameA dot path. A live “Full path: …” preview shows the resulting token path
ValueA field specific to the chosen type — see token types
DescriptionOptional, exported as $description

Name rules

Rule
Allowed charactersa–z, A–Z, 0–9, ., -, _
Not allowedSpaces, /, .., a leading or trailing .
UniquenessThe full path must be unique across the document

Use . to nest: color.primary.500 produces a three-level group in the exported JSON. Use / in the token set path, not in the name.


The value field is type-specific

Each type renders its own input, so you are never typing raw JSON:

TypeField
ColorSwatch, picker with four editable colour spaces, eyedropper, text input
Dimension / DurationNumber input with a unit selector
NumberPlain number input
Font weightNumber input plus a preset dropdown (100 … 950)
Stroke styleKeyword dropdown
BorderThree sub-fields: colour, width, style
TransitionThree sub-fields: duration, delay, timing function
ShadowMulti-layer builder — add and remove shadow layers
TypographyFive DTCG slots plus the four Figma extensions
Cubic BézierFour-number input, accepts cubic-bezier(…) syntax
GradientNo dedicated field — see gradient

Every composite slot accepts either a literal value or a {reference}, toggled by a link icon on the field.


Editing a token

Right-click a tile → Edit. The type and value can be changed; the token set cannot.

Renaming updates references

If other tokens reference the one you rename, those references are rewritten automatically and the dialog reports how many were updated. You do not have to hunt them down.

This does not update Figma layers. Bindings on layers store the token name, so after a rename you should run Sync to selection to re-establish them.


Deleting a token

Right-click a tile → Delete, then confirm.

Deleting does not check references

Other tokens referencing the deleted one are not rewritten or warned about. They become broken references, visible as “Reference cannot be resolved” on their tiles. Search for the token name before deleting it.


Reading a token tile

ElementMeaning
SwatchColour preview — for color and shadow tokens (shadow uses its first layer’s colour)
NameThe token’s base name
Value lineThe formatted resolved value, or a reference badge if the value is an alias
Broken-link icon + red textThe reference cannot be resolved under the active themes
OutlineThe token matches a binding on your current Figma selection
Right-hand labelThe token’s type

Searching

The search box in the panel header filters tokens live across the whole document, not just the selected set. When nothing matches you get “No tokens match this filter.”