mainAxisAlignment
Alignment along the main axis (depends on layoutMode).
Type(s)
| Type | Example |
|---|---|
MainAxisAlignment | "START", "END", "CENTER", "SPACE_BETWEEN" |
null | null |
Not token-bindable — structural property, not a design value.
Supported on
| Element | Figma Layer(s) |
|---|---|
container | Component, Frame, Instance, Slot |
Figma key
Reads from primaryAxisAlignItems. See ADR 040 — Layout Alignment.
Source
| Format | File |
|---|---|
| TypeScript | packages/schema/types/Styles.ts |
| JSON Schema | packages/schema/schema/styles.schema.json |