Create a frame
figma_create_frameCreate an empty frame on the current page or inside a named parent, and receive its node ID to fill in following steps.
Instructions
Creates an empty frame, on the current page or inside a parent you name. Returns the new node’s id so the next call can fill it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| fill | No | Hex colour for a solid background. Omit to keep Figma’s default white. | |
| name | No | Layer name. Default "Frame". | |
| width | No | Default 100. | |
| height | No | Default 100. | |
| parentId | No | Put it inside this node. Default: the current page. |