Naming, grouping, and organizing variables (so future you doesn’t cry 😢)
Figma variables are incredibly powerful — but without structure, they can go off the rails fast. What starts as a clean setup can quickly become a mess of duplicated values, random names, and “wait, what does this do again?”
This chapter is here to help you build a variable system that’s scalable, understandable, and easy for your whole team to work with — not just the person who created it.
Your variable names should tell you three things at a glance:
what it is, what it’s for, and where it belongs.
A solid pattern looks like this:
[purpose] / [category] / [specific role or size]
color/bg/default
color/text/secondary
spacing/xs
radius/small
Collections in Figma are like folders for your variables. They also control which modes apply to which variables — so they’re more than just organizational tools.
There’s no single “correct” structure, but here are a few approaches that work well:
Supernova uses collections to define token sets. The more intentional your collection structure, the cleaner your token system will be when synced.
Use consistent naming scales to keep your system predictable — especially helpful when you’re exporting to code or managing responsive layouts.
For spacing:
spacing/xxs
spacing/xs
spacing/s
spacing/m
spacing/l
spacing/xl
For typography (if using string variables):
typography/heading/l
typography/body/s
For colors:
color/primary/500
color/neutral/100
color/error/700
Yes, it’s tempting to create a one-off variable just for that button. Don’t do it. One-off variables create clutter, drift, and technical debt.
Instead:
Figma lets you add descriptions to variables and collections. Use this feature.
Supernova will import your descriptions and even your intended code syntax — and you can use this info in documentation and code exports later. One note in Figma = less confusion down the line.
With a little upfront structure, your Figma variable setup will scale cleanly — across themes, brands, and teams — without turning into a monster.