Spacer · Layout · preview
Creates explicit vertical space between adjacent elements.
Android and KMP are declared rendering targets in the contract. Editor scope: Palette+Inspector.
AI authoring: contract flag set; eligible for Stage 3 screen generation. Actual selection depends on the generation route and research input conditions.
Support and authoring conditions were checked against source on 2026-10-13. Properties, behavior and examples below retain the 2026-09-10 reference snapshot; they do not replace device validation.
Preview and property controls
Start the KMP preview and adjust properties to update the example screen and JSON. Reset the example to restore its initial state.
Usage guidance
Use it for
- Meaningful separation between sections
Avoid it for
- When container spacing already solves it
Anatomy and accessibility
-
Height
-
Do not use spacing to change information order.
Props contract
Runtime defaults and example values are different. Properties without a documented default remain explicitly unspecified.
| Key · label | Type · constraints | Required | Runtime default | Example | Support |
|---|---|---|---|---|---|
height · Height | number | No | No documented default | 12 | Android / KMP |
Binding
This static content component has no default binding.
Supported actions
The component has no default action of its own.
Runtime notes
No additional runtime notes are declared. Refer to the contract tables for platform support.
Related components and source
Contract verified: 2026-09-02 · schemaVersion 2.
Based on the reference-site snapshot generated on September 10, 2026. The documentation import date and runtime verification date are separate.