Skip to content

end

Distance from the parent’s end edge, when the element is positioned against it (ADR-041).

Path

…elements.<element>.styles.end

Elements Supported

component · container · ellipse · glyph · instance · line · polygon · rectangle · slot · star · text · vector

Value

number

string

A percentage of the parent’s corresponding dimension, e.g. ‘10%’.

  • "5%"

null (default)

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

absolutePositioning — CSS

Figma key

Reads from x when the horizontal constraint is MAX or STRETCH. See ADR 041 — Layout Positioning.

Decisions

  • ADR-041 — Layout Positioning — Constraint-Based Naming
  • ADR-070 — Explicit position: ABSOLUTE for Children of Non-Auto-Layout Parents
  • ADR-113 — Style defaults belong to the schema

Rules

RuleStatement
DSPEC-44Every property of Styles declares a default, and its value validates against that property’s own schema
DSPEC-45A declared default is a literal, never a TokenReference, PropBinding or Conditional
DSPEC-47Jointly resolved keys are stated as an ordered case table over a declared operand set, not as prose

Source

FormatFile
JSON Schemapackages/schema/schema/styles.schema.json
TypeScriptpackages/schema/types/Styles.ts
Specification§4.1a, §11