Set an instance’s properties
figma_set_instance_propertiesConfigure a Figma instance by setting its variant, text, and boolean properties using keys from component properties. Invalid keys are refused with a list of valid options.
Instructions
Sets which variant an instance is, and the text and booleans its component exposes. Take the keys from figma_component_properties; a key given without its id suffix is matched anyway, and one that matches nothing is refused with the list of what does.
This is the difference between placing a component and using it. figma_create_instance gives you the default variant — this is how it becomes the large one, or the disabled one, with the right label.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | Figma node id, like "21:10314". Omit to use whatever is selected on the canvas. | |
| properties | Yes | Key to value. A variant takes its option name, a boolean property true or false, a text property a string. |