Skip to content

mainAxisAlignment

Alignment along the main axis (depends on layoutMode).

Type(s)

TypeExample
MainAxisAlignment"START", "END", "CENTER", "SPACE_BETWEEN"
nullnull

Not token-bindable — structural property, not a design value.

Supported on

ElementFigma Layer(s)
containerComponent, Frame, Instance, Slot

Figma key

Reads from primaryAxisAlignItems. See ADR 040 — Layout Alignment.

Source

FormatFile
TypeScriptpackages/schema/types/Styles.ts
JSON Schemapackages/schema/schema/styles.schema.json