Variables Panel

The Variables panel lets you create and manage design variables (tokens) that can be reused across your designs. Variables support multiple modes for theming and responsive design.

Opening the Panel

Variable Types

Collections

Variables are organized into collections:

Creating a Collection

  1. Click the + button in the panel header
  2. Enter a name (e.g., "Colors", "Spacing")
  3. Collection appears in the list

Collection Features

Creating Variables

  1. Select a collection
  2. Click "Add Variable" or right-click
  3. Choose variable type
  4. Name the variable (e.g., "primary-color")
  5. Set the value

Variable Modes

Each collection can have multiple modes with different values:

Common Mode Patterns

Adding Modes

  1. Select a collection
  2. Click the mode dropdown
  3. Choose "Add Mode"
  4. Name the mode
  5. Set values for each variable in that mode

Switching Modes

Variable Groups

Organize variables within collections using groups:

Binding Variables

Connect element properties to variables:

  1. Select an element
  2. In Properties panel, click the property value
  3. Click the variable icon (hexagon)
  4. Choose a variable
  5. Property now tracks the variable

Searching Variables

Exporting Variables

Click the export button to export as:

Best Practices