create_component
Create a reusable component from a selected node or a new frame, turning design elements into shareable UI building blocks.
Instructions
Create a reusable component from the current selection or a new frame.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component name | |
| width | No | Width | |
| height | No | Height | |
| parentId | No | Parent node ID | |
| fromNodeId | No | Node ID to convert to component | |
| description | No | Component description |