Documentation

Figma utilities

Copy link to headline:@sit-onyx/figma-utils

npm package
(opens in a new tab)

.

Copy link to headline:Changelog

A full changelog can be found here.

For a list of supported commands and options, run:

Copy link to headline:Usage in CI

If you are using the CLI in CI (e.g. via GitHub actions or Azure pipelines), we recommend that you specify the major version that you want to use to prevent possible future breaking changes that might disrupt your pipeline. Example:

Copy link to headline:Use as npm package

If you don't want to use the CLI, this package also provides utility functions for importing data from the Figma API. This is useful if you want to further customize the CLI commands to have full control over the output.

Install the npm package with your corresponding package manager:

Copy link to headline:Import variables as CSS

Copy link to headline:CLI command

Importing variables is also supported via CLI. For more information, run:

Alternatively, you can implement it manually for full control and customization:

Copy link to headline:Import icons

Copy link to headline:CLI command

Importing icons is also supported via CLI. For more information, run:

Alternatively, you can implement it manually for full control and customization:

Copy link to headline:Import flags

Copy link to headline:CLI command

Importing flags is also supported via CLI. For more information, run:

Alternatively, you can implement it manually for full control and customization: