<gap>
Empty space: a fixed gap with size=, or a flexible spacer that pushes its neighbors apart.
Aliases
Reset to canonicalThis tag has more than one name. Every spelling is the same tag, so write whichever feels natural. Pick one and every example on this page uses it.
<column style="w-full gap-0">
<row style="w-full items-center">
<text style="font-semibold">Order #4821</text>
<gap/>
<text style="text-teal-600">Shipped</text>
</row>
<gap size="24"/>
<text style="muted">Arrives Friday, 14 November</text>
</column>
Attributes
| Name | What it does | Default |
|---|---|---|
size |
Fixed height in pixels. If null, flexible Spacer expands to fill. number |
Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.