Skip to content
SVG with Tokens

SVG with Tokens

by Avner

Generate the SVG code of any Figma Vector Node, including the color tokens with their default value

FreeDev Mode

Installs

49

Likes

13

Users

514

Views

882

Preview

SVG with Tokens preview

About this plugin

This plugin generates the SVG code you would like to export, but also replaces the static colors values with the original token name. For example, if the SVG would contain: stop-color="#E6EFFA", this plugin will generate instead: stop-color="var(--token-name, #E6EFFA)"Demo: https://youtu.be/7UYkt4Ym20U

More software development plugins

View all