set_instance_variant
Modify variant properties of a Figma component instance while keeping existing overrides, eliminating the delete-recreate workflow.
Instructions
Change the variant properties of a component instance without recreating it. This preserves instance overrides and is more efficient than delete + create workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the instance node to modify | |
| properties | Yes | Variant properties to set as key-value pairs (e.g., { "State": "Hover", "Size": "Large" }) |