Create Component
create_componentConvert a Figma frame into a main component to enable reuse and consistent design updates.
Instructions
Convert an existing frame into a main component.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the frame to convert to a component | |
| nodeName | Yes | The node's current exact name, passed back verbatim from `node_info`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of the created component | |
| name | No | Name of the created component | |
| error | No | ||
| parentId | No | ID of the parent the component was placed into — confirm containment without a follow-up read |