create_component_instance
Create a Figma component instance using a local component ID for speed or a component key for library imports. Specify position and optional parent.
Instructions
Create an instance of a component in Figma. Use componentId for fast local component instantiation, or componentKey for library imports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position | |
| y | Yes | Y position | |
| parentId | No | Optional parent node ID to append the instance into (defaults to page root) | |
| componentId | No | Node ID of a local component to instantiate (fast, no import needed) | |
| componentKey | No | Key of the component to instantiate (uses importComponentByKeyAsync, slower) |