Skip to content

Settings

Settings give you technical control over how specs are created — the same settings surface drives both the Figma plugin and the CLI, so a component produces the same structured output no matter which one generates it.

The plugin’s Settings tab exposes the same options as the CLI’s config file, right next to the canvas where you’re generating specs.

The plugin's Settings tab, showing the Format section with File, Key case and delimiter, Token, and Color options
The Format section of the plugin's Settings tab.

Format

The Format section controls how spec data is serialized once it’s extracted:

  • Output Format — Serializes specs as YAML or JSON
  • Keys — Renames keys, such as camelCase or snake_case
  • Tokens — Serializes as forms such as a name string or { $token, $type } object
  • Color — Formats color, such as #FF6600 or { colorSpace, components }

Variants

The Variants section controls how variant property combinations are compared and included:

  • Variant Depth — Compares depths such as 1 prop at a time or 9999 (all combos)
  • Empty Variants — Includes variants like { a:2, b:2 } with no overrides
  • Invalid Variants — Includes invalid combos, e.g. disabled:true, hover:true
  • Invalid Combinations — Summarizes as invalidPropConfigurations: { disabled:true }

Elements

The Elements section controls which layers are detected as special-purpose content:

Props

The Props section controls how code-only and inferred props are detected:

Layout

The Layout section controls how element hierarchy is represented:

  • Layout — Nests such as layout: or flattens as elements: { parent, children }