Skip to content

Publish Variable

What It Does

The Publish Variable node controls whether a design token is published to Figma users. It allows you to make certain variables available or hidden in the Figma variables panel.

Inputs

NameDescriptionTypeRequired
TokenThe design token to control publishing forTokenYes
PublishWhether to publish this token to FigmaYes/NoNo

Outputs

NameDescriptionType
TokenThe token with publishing setting appliedToken

How to Use It

  1. Drag the Publish Variable node into your graph.
  2. Connect a design token to the "Token" input.
  3. Set "Publish" to true (default) to make the token available to Figma users.
  4. Set "Publish" to false to hide the token, making it only available for references in other tokens.

Tips

  • Use this node to hide utility or intermediate tokens that aren't directly useful to designers.
  • Publishing fewer variables keeps the Figma variables panel cleaner and more user-friendly.

See Also

  • Code Syntax: For adding code snippets to tokens visible in Figma.
  • Scope By Type: For automatically assigning appropriate Figma scopes.

Use Cases

  • Design System Organization: Show only the most essential variables to designers while keeping implementation details hidden.
  • Developer-Only Tokens: Hide technical tokens that are only needed for references or calculations.
  • Variable Management: Control which tokens from a larger set get exposed to designers in Figma.