Skip to main content
Glama

Talk to Figma MCP

by yhc984

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

NameRequiredDescriptionDefault
counterAxisAlignItemsNoCounter axis alignment (MIN/MAX = top/bottom in horizontal, left/right in vertical)
nodeIdYesThe ID of the frame to modify
primaryAxisAlignItemsNoPrimary 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.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "counterAxisAlignItems": { "description": "Counter axis alignment (MIN/MAX = top/bottom in horizontal, left/right in vertical)", "enum": [ "MIN", "MAX", "CENTER", "BASELINE" ], "type": "string" }, "nodeId": { "description": "The ID of the frame to modify", "type": "string" }, "primaryAxisAlignItems": { "description": "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.", "enum": [ "MIN", "MAX", "CENTER", "SPACE_BETWEEN" ], "type": "string" } }, "required": [ "nodeId" ], "type": "object" }

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