Row arranges children horizontally with flexbox. UseDocumentation Index
Fetch the complete documentation index at: https://prefab.prefect.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
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. A Responsive() sets different gaps at different breakpoints.Cross-axis alignment:
"start", "center", "end", "stretch", "baseline".Main-axis distribution:
"start", "center", "end", "between", "around", "evenly", "stretch".Additional Tailwind CSS classes. A
Responsive() compiles breakpoint-prefixed classes.Protocol Reference
Row