@objectifthunes/whiteboard
LAYOUT

Stack

Vertical grid with consistent gap. Use Stack everywhere you'd otherwise reach for margin-bottom.


PREVIEW
md gap (default)
md gap
md gap
sm gap
sm gap
sm gap
SOURCE
import { Stack } from '@objectifthunes/whiteboard'

<Stack>           {/* default md gap */}
  <First />
  <Second />
</Stack>

<Stack size="sm">
  …
</Stack>
NOTES

A vertical CSS grid with consistent gap. Use Stack everywhere you would otherwise reach for margin-bottom— Stack's rhythm doesn't leak outside its bounds.

Polymorphic via as; defaults to "div".