primaryAxisSizingMode
Whether the stacking axis sizes to its contents or to a fixed value.
Path
…elements.<element>.styles.primaryAxisSizingMode
Elements Supported
Value
"AUTO"(default) — The stacking axis sizes to its contents."FIXED"— The stacking axis takes the recorded dimension.
Platform bindings
Figma
Disposition: bound · Realised by: node.primaryAxisSizingMode
Deferred after layoutSizingHorizontal/Vertical, which themselves write it — the shorthand would otherwise clobber the explicit primitive.
CSS
Disposition: unsupported · Realised by: —
Not emitted. Sizing is derived instead from layoutSizingHorizontal and layoutSizingVertical against the parent axis, which the autoLayoutSizing rule states. This key is never read.
Decisions
Rules
| Rule | Statement |
|---|---|
| DSPEC-44 | Every property of Styles declares a default, and its value validates against that property’s own schema |
| DSPEC-45 | A declared default is a literal, never a TokenReference, PropBinding or Conditional |
Source
| Format | File |
|---|---|
| JSON Schema | packages/schema/schema/styles.schema.json |
| TypeScript | packages/schema/types/Styles.ts |
| Specification | §4.1a, §11 |