replace_all_instances
Replace every Figma component instance whose main component key matches a source key with a target key. Limit the scope with a root node and preview changes using dry-run.
Instructions
Swap every instance whose main component key matches sourceComponentKey to targetComponentKey. Supports dryRun and a rootNodeId scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | ||
| rootNodeId | No | ||
| sourceComponentKey | Yes | ||
| targetComponentKey | Yes |