set_layout_mode
Modify the layout mode and wrap behavior of a frame in Figma by specifying the node ID, layout mode (vertical, horizontal, or none), and wrap settings.
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 |