create_component_instance
Generate a component instance in Figma by specifying the component key and positioning coordinates (X, Y) for precise placement.
Instructions
Create an instance of a component in Figma
Input Schema
Name | Required | Description | Default |
---|---|---|---|
componentKey | Yes | Key of the component to instantiate | |
x | Yes | X position | |
y | Yes | Y position |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"componentKey": {
"description": "Key of the component to instantiate",
"type": "string"
},
"x": {
"description": "X position",
"type": "number"
},
"y": {
"description": "Y position",
"type": "number"
}
},
"required": [
"componentKey",
"x",
"y"
],
"type": "object"
}