How to instantly add code syntax to variables / Figma

masha on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateFigma10 min

About this video

Shows how to use a Figma plugin to pull variables from a collection and add code snippets to them, using a design tokens file as the demo. Prior coding experience is described as helpful but not required.

What you’ll learn

  • Find a variable collection ID using the Figma console
  • Retrieve all variables from a collection in a plugin
  • Add code snippets to Figma variables