create_rectangle
Create a rectangle or box element in Figma for cards, buttons, or dividers by specifying position, size, fill, and corner radius.
Instructions
Create a rectangle or box element (useful for cards, buttons, visual dividers)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate | |
| y | No | Y coordinate | |
| fill | No | Hex color fill, e.g. '#3B82F6' | |
| name | No | Name of the rectangle | |
| width | No | Width in pixels | |
| height | No | Height in pixels | |
| parentId | No | Parent Frame node ID | |
| cornerRadius | No | Corner radius in pixels |