Skip to content

gridRows

The rows a grid templates, when the row axis is the templated one.

Path

…elements.<element>.styles.gridRows

Elements Supported

component · container · slot

Value

AdaptiveGridTracks

A track count derived from the container: as many tracks as fit at the declared minimum, with remaining space shared equally.

integer

A fixed count of equal tracks.

  • 2

null (default)

Platform bindings

Figma

Disposition: unsupported · Realised by: rule wrapping

Neither captured nor rendered yet, and one-way by design. Figma’s only automatic placement is row-major, so a row-templated grid has no Figma form to read back; ADR-122 has render derive the column count and reorder children, and defines no capture rule.

CSS

Disposition: bound · Realised by: rule autoLayout

The column-axis forms transposed. Emitted only when gridColumns is absent: a spec templates one axis and sizes the other by content, so the untouched axis keeps the browser’s implicit tracks.

Resolved jointly with

This key does not map on its own. Its rule’s ordered case table is linked above.

wrapping — Figma

autoLayout — CSS

Decisions

None.

Rules

RuleStatement
DSPEC-44Every Styles property declares a default valid against its own schema
DSPEC-45A declared default is a literal, never a reference or conditional
DSPEC-47Jointly resolved keys are stated as an ordered case table, not prose

Source

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