Create Component
create_componentConvert a Figma frame into a main component by specifying its node ID and name.
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 | Name of the node to verify against |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the created component | |
| name | Yes | Name of the created component |