Grid
A finite-column grid container.
Props
| Prop | Type | Required |
|---|---|---|
accessibilityHint | string | No |
columns | integer | No |
enabled | boolean | No |
gap | number | No |
label | string | No |
semantics | string | No |
Types describe evaluated values. Literal native attributes use the declared decoder; use bind-* for expressions. any still has the semantic constraints listed below. Common document attributes (class, state, show, etc.) are separate from props.
Example
<Grid columns="2" gap="8"><Text text="One" /><Text text="Two" /></Grid>
Defaults, values, and validation
columns defaults 1, accepts 1–32. gap defaults 0, accepts 0–4096 logical units; the gap prop is not a four-unit utility suffix.
Unknown props, wrong types, missing required props, and unsupported child structure fail validation. Use attributes for evaluated input and diagnostics for recovery.
Events
No component events.
Local commands
No local commands.