create_component_from_node
Convert an existing Figma node, such as a frame, into a main component, replacing it in place so it can be reused.
Instructions
Convert an existing node (e.g. a frame) into a Figma main Component. The node is replaced in place by the new component.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the new component | |
| nodeId | Yes | The ID of the node to convert into a component |