Learn what Figma variables, modes, and collections are and how to use them with your design system.
Figma variables are all the rave and you’ve probably heard a lot of product designers talk about them. You might even hear design system folks use “Figma variables” interchangeably with “design tokens” (Note: They’re not exactly the same thing! Read this article to understand the differences.) or mention modes and collections. But what are these Figma features and how can you use them for your design system? Let’s find out.
Figma variables are a powerful feature that allow designers to create reusable values for properties like colors, text styles, typography, and more. These variables help maintain consistency throughout a design project and enable easy updates across multiple components.
Modes in Figma variables refer to different states or versions of a variable that can be switched based on specific conditions or contexts. For instance, you can define different color modes for light and dark themes or different brands.
This allows for seamless theme switching without manually adjusting each element or creating different variants of your components. You can also use modes with strings (eg. localization) and numbers (eg. spacing, screen resolution).
Here's an example of how modes work:
Switching between these modes will automatically apply the corresponding variable values to your design, making theme management more efficient.
💡 Tip: Use this file as a playground for Figma variables and watch our workshop where we take a deep deeper dive into variables and modes!
Collections are groups of related variables that help organize and manage them more effectively. For example, you can create collections for colors, typography, spacing, etc. This categorization simplifies the process of finding and updating variables.
By grouping related variables into collections, you ensure that your design system remains organized and scalable. You can easily navigate through collections to locate and modify specific variables as needed.
💡 Tip: Use this sample file as inspiration for testing out Figma variables and connecting them to Supernova.
Integrating Figma variables with Supernova can enhance your design system management. Here's a quick summary and simplified steps to connect Figma variables with Supernova:
Once your variables are imported, you can start managing, documenting, and delivering them within Supernova.
In the Design Tokens section of Supernova, you can manage various aspects of your variables, such as names, values, filters, and descriptions. This centralized management ensures consistency across your design system.
Supernova allows you to embed Figma variables directly within your documentation. This feature helps create a source of truth for your design system, making it easier for team members to understand usage and reference variables.
Use Supernova’s code automations to translate Figma variables to code and ensure your design tokens are always up-to-date. You can use the out-of-the-box exporters we provide, or create custom ones.
Figma variables, along with modes and collections, provide a robust framework for managing design properties efficiently. By incorporating these features into your workflow, you can achieve greater consistency, flexibility, and scalability in your design projects.
Start exploring the power of Figma variables today and see how they can transform your design process!
Unlock the full potential of your design system with Supernova, empowering you to drive innovation, collaboration, and seamless scalability.