Turn Figma Variables into an npm Package (Design Tokens Tutorial)

jenoftencodes on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateDesign Systems36 min

About this video

A tutorial on publishing design tokens from Figma as an npm package. It uses Tokens Studio to sync tokens through GitHub, Style Dictionary to convert them into CSS, JavaScript, TypeScript and JSON, and GitHub Actions to publish. It is aimed at designers and developers building a design system pipeline.

What you’ll learn

  • Set up design tokens in Tokens Studio for Figma and sync them with GitHub
  • Transform tokens into CSS variables, JavaScript, TypeScript and JSON with Style Dictionary
  • Publish a design token package to npm automatically with GitHub Actions