---
url: /api/design/figma/src.md
---
[pantoken-root](../../../index.md) / figma

# figma

Experimental

`@pantoken/figma` — convert the Instructure token IR into a Figma Variables payload.

It produces one variable collection with `light`/`dark` modes: colour tokens become `COLOR`
variables (RGBA 0–1), dimensions/numbers become `FLOAT`, everything else `STRING`. Icons are
excluded (they'd be Figma components, not variables). Feed [toFigmaVariables](functions/toFigmaVariables.md) to a Figma
plugin (the Variables plugin API) or the Variables REST API — the README has the plugin glue.

## Interfaces

* [FigmaColor](interfaces/FigmaColor.md)
* [FigmaVariable](interfaces/FigmaVariable.md)
* [FigmaVariablesPayload](interfaces/FigmaVariablesPayload.md)
* [ToFigmaOptions](interfaces/ToFigmaOptions.md)

## Functions

* [toFigmaColor](functions/toFigmaColor.md)
* [toFigmaVariables](functions/toFigmaVariables.md)

## References

### default

Renames and re-exports [toFigmaVariables](functions/toFigmaVariables.md)
