Skip to content

horizontal

Horizontal gap between items

Path

…elements.<element>.styles.itemSpacing.horizontal

Value

TokenReference

A design token, written as a $token path plus a $type, as in { $token: Color/On surface, $type: color }. The consuming platform resolves it to a value.

number (default: 0)

null

Themes

A TokenReference written here resolves under the theme in force on this element — the one it selects in themes, or the nearest ancestor’s. The same token path yields a different value under a different theme.

Decisions

  • ADR-037 — Consolidate Item Spacing into a Bi-Axial Model
  • ADR-116 — Nested style members declare their own defaults
  • ADR-125 — Instance-example orientation

Source

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