set_layout_sizing
Set horizontal and vertical sizing modes for auto-layout frames in Figma, controlling whether frames stay fixed, hug content, or fill available space.
Instructions
Set horizontal and vertical sizing modes for an auto-layout frame in Figma
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the frame to modify | |
| layoutSizingVertical | No | Vertical sizing mode (HUG for frames/text only, FILL for auto-layout children only) | |
| layoutSizingHorizontal | No | Horizontal sizing mode (HUG for frames/text only, FILL for auto-layout children only) |