bind_variable
Bind a Figma variable to a node property such as fills, width, padding, or opacity, or pass null to unbind it. This links design values to variables for consistent updates.
Instructions
Bind a variable to a node property. Fields: fills/strokes (COLOR, bound to the first paint), width, height, itemSpacing, counterAxisSpacing, paddingLeft/Right/Top/Bottom, topLeftRadius/topRightRadius/bottomLeftRadius/bottomRightRadius, strokeWeight, opacity, characters, visible. Shortcuts: "padding" (4 sides), "cornerRadius" (4 corners). Pass variableId null to unbind.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | Node property to bind | |
| nodeId | Yes | ID of the node | |
| variableId | Yes | ID of the variable to bind, or null to remove the binding |