<row> Component
The <row>
component arranges its children horizontally in a flex container. It provides control over horizontal and vertical alignment, spacing, and wrapping behavior.
<row>
component arranges its children horizontally in a flex container. It provides control over horizontal and vertical alignment, spacing, and wrapping behavior.🛠Attributes
align
string
No
Vertical alignment of items (start
, center
, end
, stretch
, baseline
)
justify
string
No
Horizontal alignment of items (start
, center
, end
, space-between
, space-around
, space-evenly
)
gap
string
No
Spacing between items (e.g., 8px
, 1rem
)
wrap
boolean
No
Allow items to wrap to next line (true
, false
)
reverse
boolean
No
Reverse the order of items (true
, false
)
height
string
No
Height of the row (e.g., 100%
, auto
)
✅ Allowed Content
Any valid UDML components or elements.
💡 Examples
Basic Row
Centered Row with Wrapping
Space Between Row
🧩 AI Interpretation Guidelines
Generate a flex container with
flex-direction: row
Apply specified alignment and justification
Add gap between items if specified
Enable wrapping if
wrap="true"
Reverse order if
reverse="true"
Maintain proper spacing and alignment in nested structures
Last updated