gap to control spacing between items.
Basic Usage
Gap
Gap controls the spacing between children. Larger values give more visual separation.- gap=4
- gap=8
- gap=12
Alignment
align controls vertical alignment of children. The difference is visible when children have different heights.
- align="start"
- align="center"
- align="end"
- align="baseline"
Justification
justify controls how children are distributed along the horizontal axis.
- justify="start"
- justify="center"
- justify="end"
- justify="between"
- justify="around"
- justify="evenly"
API Reference
Row Parameters
Gap between children. An int maps to
gap-{n}. A tuple (x, y) sets per-axis gaps; use None to skip an axis.Cross-axis alignment:
"start", "center", "end", "stretch", "baseline".Main-axis distribution:
"start", "center", "end", "between", "around", "evenly", "stretch".Additional Tailwind CSS classes.
Protocol Reference
Row