# Grid

Responsive columns that make room for the content without breakpoint bookkeeping.

- Family: Layout, imported from `mizu-ui` or `mizu-ui/layout`
- Docs: https://mizu.user64bit.world/components/grid
- Source: https://github.com/0xuser64bit/mizu/blob/main/packages/mizu/src/layout/Layout.tsx

## Usage

```tsx
import { Grid, Stat } from "mizu-ui";

export function Example() {
  return (
    <Grid minWidth={160} gap={24}>
      <Stat label="Forms" value="16" />
      <Stat label="Status" value="12" />
      <Stat label="Data" value="12" />
    </Grid>
  );
}
```

## Copy it with the shadcn CLI

```sh
npx shadcn@latest init 0xuser64bit/mizu/preset # once, where there is no components.json
npx shadcn@latest add 0xuser64bit/mizu/grid 0xuser64bit/mizu/stat
```

## Props

- `minWidth / gap`: `number` (default `220 / 24`). Minimum column width and gap in pixels.
- `...props`: `HTMLAttributes`. Native div attributes.

## Accessibility

Native grid automatically collapses within its container. DOM reading order remains intact.

## Motion

CSS layout, no resize observer.
