create_component_from_node
Convert any Figma node into a reusable component by providing its node ID. Optionally name the component and specify a parent page.
Instructions
Convert an existing node (frame, group, etc.) into a reusable component in Figma
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to convert into a component | |
| name | No | Optional new name for the component | |
| parentId | No | Parent node ID. REQUIRED — server enforces this. Use page node ID for top-level elements. Get page IDs via get_pages tool. |