Create Instance
create_instancePlace a component instance at exact coordinates in a Figma design, specifying the component by key or node ID and optionally a parent container.
Instructions
Instantiate a component (by componentKey or componentId) at a position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| componentKey | No | Key of the component to instantiate (for remote/library components) | |
| componentId | No | Node ID of the component to instantiate (preferred for local components) | |
| x | Yes | X position | |
| y | Yes | Y position | |
| parentId | No | Optional parent node ID to append the instance to | |
| 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 |