figma_create_frame
Create a Figma frame with auto-layout, stroke, and nested children support. Configure dimensions, padding, spacing, and alignment to build structured UI components.
Instructions
Create a frame with full auto-layout, stroke, and nested children support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | Yes | ||
| width | Yes | ||
| height | Yes | ||
| opacity | No | ||
| padding | No | ||
| children | No | Nested children: [{type:'TEXT',content:'Hi',...}, {type:'RECTANGLE',...}] | |
| parentId | No | ||
| fillColor | No | Color as hex string "#RRGGBB" or object {r,g,b,a?} with 0-1 values | |
| autoLayout | No | ||
| layoutWrap | No | ||
| paddingTop | No | ||
| itemSpacing | No | ||
| paddingLeft | No | ||
| strokeAlign | No | ||
| strokeColor | No | Color as hex string "#RRGGBB" or object {r,g,b,a?} with 0-1 values | |
| clipsContent | No | ||
| cornerRadius | No | ||
| paddingRight | No | ||
| strokeWeight | No | ||
| paddingBottom | No | ||
| counterAxisAlign | No | ||
| primaryAxisAlign | No | ||
| counterAxisSizing | No | ||
| primaryAxisSizing | No | ||
| counterAxisSpacing | No |