Skip to content

textAlignVertical

Where text sits within the height available to it.

Path

…elements.<element>.styles.textAlignVertical

Elements Supported

text

Value

  • "TOP" (default) — Text sits at the top of the height available to it.
  • "CENTER" — Text centres within the height available to it.
  • "BOTTOM" — Text sits at the bottom of the height available to it.

Platform bindings

Figma

Disposition: bound · Realised by: node.textAlignVertical

Passed through unchanged. The schema types this as an open string, and Figma’s own values match, so the identity mapping loses nothing. Text nodes only.

CSS

Disposition: unsupported · Realised by: —

Not emitted for an element’s styles. The key is absent from the style pipeline entirely, so a plain element carrying it produces nothing. The separate contentStyles member of the same name IS handled for a text primitive filling a slot, and only where that slot admits no components — two different members with one name, and only one of them is realised.

Decisions

  • ADR-064 — Tighten textAlignHorizontal to a Logical-Direction String Enum
  • ADR-113 — Style defaults belong to the schema
  • ADR-115 — Closed Style Value Sets

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

Source

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