set_axis_align
Align elements in Figma auto-layout frames by setting primary and counter axis alignment. Adjust spacing, position, and layout orientation using node IDs and alignment options for precise design control.
Instructions
Set primary and counter axis alignment for an auto-layout frame in Figma
Input Schema
Name | Required | Description | Default |
---|---|---|---|
counterAxisAlignItems | No | Counter axis alignment (MIN/MAX = top/bottom in horizontal, left/right in vertical) | |
nodeId | Yes | The ID of the frame to modify | |
primaryAxisAlignItems | No | Primary axis alignment (MIN/MAX = left/right in horizontal, top/bottom in vertical). Note: When set to SPACE_BETWEEN, itemSpacing will be ignored as children will be evenly spaced. |