Last updated
Was this helpful?
Last updated
Was this helpful?
The Inspect page of the Plugin is where you can see which Tokens have been applied to a selected design element in Figma and modify the Tokens as needed.
There are three main sections on the Inspect Page visible when a design element is selected in Figma:
The actions at the top of the Inspect Page control how the Plugin displays the Tokens being inspected below it:
When you type in the search input, only the Design Tokens with names that match will appear in the Token list below.
If you select another design element in Figma before clearing the search input, the Plugin will only display Token names that match your search. This can help speed up workflows where you are looking for specific Tokens across designs in your Figma file.
The Deep Inspect feature controls how many layers of your selected Figma element are being looked at by the Plugin.
Deep Inspect Off - empty checkbox
Currently selected layer is being inspected.
Only Tokens applied directly to the current layer appear in the Token list below.
Deep Inspect On- checkmark visible
Current layer and all children layers below are being inspected.
All Tokens applied to the current layer and children layers appear in the Token list below.
The Deep Inspect feature in the Plugin is the only way to see all Tokens applied to a design element at once. Figma's native features in Dev Mode or their Inspect views only shows the current selected layer and ignore all children layers.
The Inspect Options menu contains some handy filters if you are working with design elements in Figma with lots of Tokens applied to them:
Show broken references
Controls visibility of Tokens applied that have an issue blocking the Plugin from resolving the value of the Token correctly.
Most often there is an issue with the Token Name not being found in the plugin, or the value of the Token has an error.
Show resolved references
Controls visibility of Tokens applied with no issues detected by the Plugin.
For example you are only checking for Broken Tokens, you could deselect the show resolved references
option so the checkmark is not visible. That way any layers you are inspecting in the Plugin will only show Tokens with broken references in the list below so you can find what you are looking for faster.
Much like on the Tokens page of the Plugin, the Tokens View toggle allows you to switch between the no-code (list) and code (debug) views.
By default, the Inspect page is on the List view. You can select the i
icon button to toggle to the debug view.
When you are inspecting a selected layer in the Plugin from the Debug View, you will see all Tokens applied to the layer written in code.
You can also select one of the arrows to create a static annotation element next to the selected layer in the Figma file. The annotation element will include the names of all Tokens applied to the selected layer and an arrow indicating which layer the annotation belongs to.
For example, selecting the arrow pointing down will place the annotation element underneath the design element on the Figma canvas.
These actions allow you to interact with the Tokens listed below them:
The Select All feature controls the Tokens listed below it:
Select All Off - empty checkbox
Individual Tokens below it can be selected as required.
Select All On- checkmark visible
All Tokens below it will be selected with their checkmarks visible.
The Bulk Remap modal allows you to match and replace strings of Token Names using the inputs:
Match - the string you'd like the Plugin to find.
Replace - the new string that will replace all instances the Plugin finds that match.
Remap across document (slow) - tells the Plugin to expand the action across the entire Figma file instead of limiting it to the currently selected design elements.
Once you've filled out the inputs with your desired strings, be sure to select the Remap button to save your changes.
Once you are finished Remapping all desired Tokens, you'll need to navigate back to the Tokens Page and select the Apply Token Data button to push the new values to Figma to complete the process.
Selecting the Set to None feature was developed for working with instances of components in Figma.
You can not remove a Token from an instance of a component due to the way that components work in Figma. If you apply another Token, Style or Variable to the same property as an over-ride, when the Plugin runs the value of the Token applied to the main component will be applied, effectively erasing your styling over ride.
So to get around this limitation, you can use the Set to None feature which tells the plugin to change the value of the Token to none
without removing it. When the value is none
, you can style that property with another Token, Style or Variable in Figma. When the Plugin runs in the future, your over-ride will persist.
The Remove Selected button allows you to remove Tokens that are listed below with the checkmark visible from your chosen design elements on the Figma canvas.
The Plugin can not remove Variables or Styles applied to design elements with Figma's native features.
There are also some nuances of removing Tokens from the Inspect or Tokens Page of the Plugin to be aware of, which are described in detail in the Remove Tokens guide.
Once you've selected a design element in Figma, the Tokens applied are listed in the Plugin. Each Token Type will appear in the list with slight differences, but all Tokens in the list share the same anatomy:
The Tokens in the list are organized by the design property they have been applied to for the selected elements on the Figma canvas.
The design property appears as the heading of the Tokens listed below it.
The names of the design properties displayed on the inspect page don't always match the design properties displayed when you right click on a Token to apply it to a design element. Here's a list of the design properties you'll see on inspect page and the corresponding Token Type. You can select the Token Type to jump to its guide.
asset
Assets/images
backgroundBlur
Background blur
border
Border all sides
borderBottom
Bottom border only
borderColor
Border/stroke color
borderLeft
Left border properties
borderRadius
Border radius (all corners)
borderRadiusBottomLeft
Bottom-left border radius
borderRadiusBottomRight
Bottom-right border radius
borderRadiusTopLeft
Top-left border radius
borderRadiusTopRight
Top-right border radius
borderRight
Right border properties
borderTop
Top border properties
borderWidth
Border width
borderWidthBottom
Bottom border width
borderWidthLeft
Left border width
borderWidthRight
Right border width
borderWidthTop
Top border width
boxShadow
Box shadow
composition
Composition (legacy)
counterAxisSpacing
Row gap
description
Token description
dimension
Dimension without property specified
fill
Fill color
height
Height
horizontalPadding
Horizontal padding
itemSpacing
Spacing between items
maxHeight
Maximum height
maxWidth
Maximum width
minHeight
Minimum height
minWidth
Minimum width
number
Number without property specified
opacity
Opacity/transparency
paddingBottom
Bottom padding
paddingLeft
Left padding
paddingRight
Right padding
paddingTop
Top padding
rotation
Rotation
sizing
Size (width and height)
spacing
General spacing
text
String text content
textDecoration
Text decoration
tokenName
Token name
tokenValue
Token raw value
typography
Typography Composite
verticalPadding
Vertical padding
value
Token resolved value
visibility
Visibility state
width
Width
x
X position
y
Y position
The Select Token control allows the bulk actions above the list to be applied to the Token:
Empty checkbox
This Token will be skipped from bulk actions.
Checkmark visible
Bulk actions will be applied to this Token.
When a Token is "broken" and it's value can not be resolved, the value will be replaced with an icon of a broken link (↓ more details below).
The Plugin will display a symbol next to the Token Name to indicate how it was applied to the design element.
Applied with Tokens Studio - no symbol
Applied as a Figma Style - 2 x 2 dots
Applied as a Figma Variable - Hexagon
Broken Token - Chain link with line through it.
Value Set to None - Circle with a line through it.
The Token Name that Figma is using as the ID of the design decision will show in the list. If the Token was applied using the Plugin directly, you can select the chevron to the right of the name to access the Remap feature.
The actions on the right side of the Token list interact with the layers within your selected design elements in Figma. These actions allow for fine-grained control of selecting the correct layers when debugging Tokens that are broken or require remapping:
Layer count - the number of layers the Token is applied to
Selecting the layer count will open a list of the layer names.
Layer navigation - will change the Plugin's current selected layers to the layers listed in the count to the left.
Mentioned in this doc:
None yet!
None yet.
A.
B.
C.
D.
The annotations generated are static, acting like a snapshot in time. You can manually apply a Documentation Token if you want the annotations to change if the Token Names change in the future. →
A.
B.
C.
D.
Selecting the Bulk Remap button allows you to use a match and replace feature to update the names of multiple Tokens applied to design elements in your Figma file. This is helpful in fixing broken Tokens that were not .
→
The Plugin can not remove Tokens from instances of components. You'll need to use the Set to None feature instead ().
A.
B.
C.
D.
E.
F.
,
,
,
,
,
,
,
,
,
,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
,
,
Each Token Type will preview the of the Token in a slightly different way. For example, Color Tokens display a swatch of the color, where as a Dimension Token shows the numeric value.
When the Value has been Set to None using the bulk action, the value will be replaced with an icon of a circle with a line through it ().
If you use the remap feature it will only apply the changes to the design elements on the Figma Canvas that are currently selected. You can use the actions to the right of the Token Name to check which layers are selected ().
→
Figma Learn -
Tokens Studio Plugin GitHub -
Tokens Studio Plugin GitHub -
💡 Something to share?
🐞 If you are experiencing an issue not listed here, please reach out to us on the Troubleshooting channel of our , , or send us an email support@tokens.studio
💌 Visit to contribute or subscribe to updates.