create_frame
Create structured frames in Figma with auto-layout, spacing, and sizing controls. Add containers to pages or nested parent nodes to automate design workflows and organize content systematically.
Instructions
Create a new frame on the current page or inside a parent node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counterAxisAlignItems | No | Cross-axis alignment: MIN, CENTER, MAX, or BASELINE | |
| counterAxisSizingMode | No | Cross-axis sizing: FIXED or AUTO (hug) | |
| counterAxisSpacing | No | Gap between wrapped rows/columns (only when layoutWrap is WRAP) | |
| fillColor | No | Fill color as hex e.g. #FFFFFF | |
| height | No | Height in pixels (default 100) | |
| itemSpacing | No | Auto-layout gap between children | |
| layoutMode | No | Auto-layout direction: HORIZONTAL, VERTICAL, or NONE | |
| layoutWrap | No | Wrap behaviour: NO_WRAP or WRAP | |
| name | No | Frame name | |
| paddingBottom | No | Auto-layout bottom padding | |
| paddingLeft | No | Auto-layout left padding | |
| paddingRight | No | Auto-layout right padding | |
| paddingTop | No | Auto-layout top padding | |
| parentId | No | Parent node ID in colon format. Defaults to current page. | |
| primaryAxisAlignItems | No | Main-axis alignment: MIN, CENTER, MAX, or SPACE_BETWEEN | |
| primaryAxisSizingMode | No | Main-axis sizing: FIXED or AUTO (hug) | |
| width | No | Width in pixels (default 100) | |
| x | No | X position (default 0) | |
| y | No | Y position (default 0) |