Skip to main content
Glama
yhc984
by yhc984

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

TableJSON Schema
NameRequiredDescriptionDefault
counterAxisSpacingNoDistance between wrapped rows/columns. Only works when layoutWrap is set to WRAP.
itemSpacingNoDistance between children. Note: This value will be ignored if primaryAxisAlignItems is set to SPACE_BETWEEN.
nodeIdYesThe ID of the frame to modify

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yhc984/cursor-talk-to-figma-mcp-main'

If you have feedback or need assistance with the MCP directory API, please join our Discord server