What Are Figma Variables, Modes, and Collections?

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.

What are Figma variables?

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

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:

  • Light vs Dark Mode: Define variables for colors, shadows, and other properties suited for a light theme vs dark theme.
  • Copy strings: Define a different set of variables for English vs Portuguese.

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 in Figma Variables

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.

Connecting Figma Variables in 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:

  1. Install Plugin: Install the Supernova plugin from the Figma marketplace.
  2. Log In: Open the plugin and log in to your Supernova account.
  3. Select Workspace: Choose your Supernova workspace.
  4. Sync Variables: Import and sync Figma collections and modes.

Expanding the power of Figma variables with Supernova

Once your variables are imported, you can start managing, documenting, and delivering them within Supernova.

Managing Figma Variables

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.

Documenting Figma Variables

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.

Delivering Figma Variables to Code

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!

Get started with Supernova today

Unlock the full potential of your design system with Supernova, empowering you to drive innovation, collaboration, and seamless scalability.

Supernova 2024 Year in Review

Reflecting on Supernova’s 2024—a year of growth, innovation, and impact for the design system community. From new tools and insights to exciting partnerships and community engagement, we’re celebrating the milestones that shaped our platform and the future of design systems. 🚀✨

Creating a Single Entry Point for IFC’s Multi-Brand Design System, iceberg

“We have a lot of elements, a lot of components, a lot of documentation, a lot of evolution. We would need two or three devs full time to just maintain that documentation website if we weren’t leveraging Supernova.” – Simon Bélanger, iceberg Design System manager

How AI is Revolutionizing UI/UX: Top Trends to Watch

Discover how AI is transforming UI/UX design through trends like hyper-personalization, emotionally intelligent design, and enhanced accessibility.