set_instance_variant
Change variant properties of a Figma component instance while preserving overrides, avoiding the need to delete and recreate.
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" }) |