Create Instance
create_instanceInstantiate a Figma component at specified coordinates within a parent node, using component ID or key for local or library components.
Instructions
Instantiate a component (by componentKey or componentId) at a position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position | |
| y | Yes | Y position | |
| parentId | Yes | Parent node ID to append the instance to | |
| componentId | No | Node ID of the component to instantiate (preferred for local components) | |
| componentKey | No | Key of the component to instantiate (for remote/library components) | |
| parentNodeName | No | Name of the parent node to verify against |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the created component instance | |
| name | Yes | Name of the component instance |