Skip to content
Export Filtered Variables

Export Filtered Variables

by Shunsuke

Export variables from specific collection and mode

FreeFigmaDev Mode

Installs

359

Likes

28

Users

3,824

Views

2,617

Preview

Export Filtered Variables preview

About this plugin

This plug-in is made for my personal workflow. I like having token files for its role and mode then combine them through style dictionary. So, I tweaked Figma's official sample code to add filters for collections and modes.

Differences from Figma's code:

You can export specific collection or mode.

Token attributes for Style Dictionary (If variable type is color or its name contains "sizing", "spacing", "borderRadius", "dimension", "borderWidth").

No comment inserted in the result if collection is specified.

More software development plugins

View all