Spacing

Generic spacing utilities that can be mapped to a concrete Tailwind class by each theme.

Samples

Item
Item
Item
Item
View Source
<div class="space-y">
  <div class="button block">Item</div>
  <div class="button block">Item</div>
  <div class="button block">Item</div>
  <div class="button block">Item</div>
</div>
Item
Item
Item
Item
View Source
<div class="flex space-x">
  <div class="flex-1 button">Item</div>
  <div class="flex-1 button">Item</div>
  <div class="flex-1 button">Item</div>
  <div class="flex-1 button">Item</div>
</div>
Item
Item
Item
Item
View Source
<div class="grid gap-y">
  <div class="button block">Item</div>
  <div class="button block">Item</div>
  <div class="button block">Item</div>
  <div class="button block">Item</div>
</div>
Item
Item
Item
Item
View Source
<div class="flex gap-x">
  <div class="flex-1 button">Item</div>
  <div class="flex-1 button">Item</div>
  <div class="flex-1 button">Item</div>
  <div class="flex-1 button">Item</div>
</div>