create_frame
Create a new frame in Figma with specified position, size, and optional styling. Set parent page via ID, define coordinates, dimensions, fill, and stroke to build your design layout.
Instructions
Create a new frame in Figma
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position (local coordinates, relative to parent) | |
| y | Yes | Y position (local coordinates, relative to parent) | |
| width | Yes | Width of the frame | |
| height | Yes | Height of the frame | |
| name | No | Optional name for the frame | |
| parentId | No | Parent node ID. REQUIRED — server enforces this. Use page node ID for top-level elements. Get page IDs via get_pages tool. | |
| fillColor | No | Fill color in RGBA format | |
| strokeColor | No | Stroke color in RGBA format | |
| strokeWeight | No | Stroke weight |