Overlay
Layer multiple children in the same allocation.
Props
| Prop | Type | Required |
|---|---|---|
accessibilityHint | string | No |
enabled | boolean | 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
<Overlay class="w-24 h-24"><View class="fill bg-card" /><Text text="Overlay" /></Overlay>
Defaults, values, and validation
Provide a finite allocation; later children paint above earlier children.
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.