bind_variable_to_property
Binds a Figma variable to a node property like opacity, padding, radius, spacing, or fontSize, enabling design token-driven updates.
Instructions
Bind a FLOAT/STRING/BOOLEAN/EASING/TIMING variable to a node property via setBoundVariable(property, variable). Use property "opacity" to token-bind layer opacity (pair a FLOAT variable with a color rather than detaching the fill). Also used for padding, radius, spacing, and fontSize.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| property | Yes | ||
| variableId | Yes |