Back to Plugins
Export Filtered Variables

Export Filtered Variables

Export variables from specific collection and mode

filtervariablesstyle dictionaryexport

Plugin 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.

Plugin Details

Version7
CreatedJune 26, 2023
Last UpdatedNovember 19, 2023
CategorySoftware development
CreatorShunsuke
Stats338 installs, 27 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:{"export": "export.html"}
  • main:code.js
  • Editor Types:
    figma
  • Allowed Domains:
    • none