Padding and gaps
Supported padding and gaps utilities.
Quick reference
| Syntax | Behavior |
|---|---|
p-N / px-N / py-N | All / horizontal / vertical padding. |
pt-N / pb-N / pl-N / pr-N | Physical edge padding. |
ps-N / pe-N | Logical start/end padding. |
gap-N / gap-x-N / gap-y-N | Container gaps. |
Example
<Column class="p-4 gap-2"><Text text="One" /><Text text="Two" /></Column>
Rules and validation
N is an integer 0–999, optionally ending in .5. Values use four logical units per step: p-4 = 16, p-0.5 = 2. Negative spacing and CSS arbitrary brackets are not supported. Gap utilities require a container. Logical edges follow direction.