<components>
The <components>
section defines custom reusable components made from UDML primitives. These are composable blocks with named <slot>
placeholders for dynamic content.
🧠 Purpose
To support system design principles like reusability, consistency, and separation of concerns by enabling authors to define UI components once and use them anywhere.
🛠 Syntax
🔑 Child Tags
Tag
Required Attributes
Purpose
<component>
name
Defines the reusable block
<slot>
name
Declares a dynamic placeholder
✅ Example Use in Screens
🧩 AI Interpretation Guidelines
Expand
<component is="...">
blocks with the defined structure.Replace
<slot name="...">
with slotted content provided in use.Preserve custom structure and style of the original definition.
Last updated