set_item_spacing
Adjust spacing between elements in an auto-layout Frame in Figma. Specify node ID and spacing values to control child element distances and row/column gaps for wrapped layouts.
Instructions
Set distance between children in an auto-layout frame
Input Schema
Name | Required | Description | Default |
---|---|---|---|
counterAxisSpacing | No | Distance between wrapped rows/columns. Only works when layoutWrap is set to WRAP. | |
itemSpacing | No | Distance between children. Note: This value will be ignored if primaryAxisAlignItems is set to SPACE_BETWEEN. | |
nodeId | Yes | The ID of the frame to modify |