create_frame
Create a Figma Frame with customizable size, position, fill, stroke, shadow, blur, and gradient properties. Define exact coordinates and visual styling for artboards or containers.
Instructions
Create a Figma Frame (artboard/container).
Args:
name, x, y, width, height: basics
hexColor: fill hex e.g. '#0D1117'
fillOpacity: 0–1 (use 0.05–0.15 for glass panes)
cornerRadius: rounded corners px
stroke/strokeWidth/strokeOpacity: border
shadow: {color, x, y, blur, spread, opacity}
blur: layer blur radius
gradient: {angle:0-360, stops:[{color,position,opacity}]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| blur | No | ||
| name | No | Frame | |
| width | No | ||
| height | No | ||
| shadow | No | ||
| stroke | No | ||
| opacity | No | ||
| gradient | No | ||
| hexColor | No | #FFFFFF | |
| fillOpacity | No | ||
| strokeWidth | No | ||
| clipsContent | No | ||
| cornerRadius | No | ||
| strokeOpacity | No |