set_layout_mode
Define the layout mode and wrap behavior of a Figma frame by specifying horizontal, vertical, or no layout, and enabling or disabling child element wrapping.
Instructions
Set the layout mode and wrap behavior of a frame in Figma
Input Schema
Name | Required | Description | Default |
---|---|---|---|
layoutMode | Yes | Layout mode for the frame | |
layoutWrap | No | Whether the auto-layout frame wraps its children | |
nodeId | Yes | The ID of the frame to modify |