create_component
Transform a shape into a reusable component in Penpot to maintain design consistency and streamline updates.
Instructions
Create a component from a shape
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Component name | |
| fileId | Yes | File ID | |
| pageId | Yes | Page ID | |
| shapeId | Yes | Shape ID to convert to component |