position
Whether the element is placed by its parent’s layout or by its own offsets — top, start, end, bottom, and the centre offsets, which ABSOLUTE makes meaningful. Present whenever any positioning offset is.
Path
…elements.<element>.styles.position
Elements Supported
component · container · ellipse · glyph · instance · line · polygon · rectangle · slot · star · text · vector
Value
"AUTO"(default) — The parent’s auto-layout places the element, and no positioning offsets are recorded."ABSOLUTE"— The element is placed against its parent’s bounds by the offset keys.null— The variant drops the value its base element carried.
Platform bindings
Figma
Disposition: bound · Realised by: rule autoVsAbsoluteLayout
CSS
Disposition: bound · Realised by: rule absolutePositioning
Resolved jointly with
This key does not map on its own. Its rule’s ordered case table is linked above.
autoVsAbsoluteLayout — Figma
bottomcenterHorizontalOffsetcenterVerticalOffsetendheightlayoutSizingHorizontallayoutSizingVerticalstarttopwidth
absolutePositioning — CSS
Figma key
Reads from layoutPositioning. See ADR 041 — Layout Positioning for why position diverges from Figma’s naming.
Decisions
- ADR-041 — Layout Positioning — Constraint-Based Naming
- ADR-070 — Explicit
position: ABSOLUTEfor Children of Non-Auto-Layout Parents - ADR-113 — Style defaults belong to the schema
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 |
| DSPEC-47 | Jointly resolved keys are stated as an ordered case table over a declared operand set, not as prose |
Source
| Format | File |
|---|---|
| JSON Schema | packages/schema/schema/styles.schema.json |
| TypeScript | packages/schema/types/Styles.ts |
| Specification | §4.1a, §11 |