create_frame
Generate a new frame in Figma by specifying dimensions, position, fill and stroke colors, and optional parent node. Integrates with Cursor AI for programmatic design updates.
Instructions
Create a new frame in Figma
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fillColor | No | Fill color in RGBA format | |
| height | Yes | Height of the frame | |
| name | No | Optional name for the frame | |
| parentId | No | Optional parent node ID to append the frame to | |
| strokeColor | No | Stroke color in RGBA format | |
| strokeWeight | No | Stroke weight | |
| width | Yes | Width of the frame | |
| x | Yes | X position | |
| y | Yes | Y position |