Functions to export variables

There are some auxiliary functions to export your figma variables to Bricks builder.

You can use:

clamp(min, max): ideal for spacing and fluid typography.

[rem]: Converts the value to rem. You can combine rem with calc. It is not necessary to use rem in clamp.


[number]: By default the numerical values will be exported in px, but you can use [number] to export only the number value.

export number figma to bricks

You can also activate the Hide from publishing option so that the variable is not exported to Bricks builder.