# BottomNav

Touch-friendly destinations that fit the phone's safe area.

- Family: Navigation, imported from `mizu-ui` or `mizu-ui/navigation`
- Docs: https://mizu.user64bit.world/components/bottom-nav
- Source: https://github.com/0xuser64bit/mizu/blob/main/packages/mizu/src/navigation/Navigation.tsx

## Usage

```tsx
import { BottomNav } from "mizu-ui";

export function Example() {
  return (
    <BottomNav
      currentPath="/components"
      items={[
        { label: "Collection", href: "/components" },
        { label: "Lab", href: "/lab" },
        { label: "Studio", href: "/studio" },
      ]}
    />
  );
}
```

## 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/bottom-nav
```

## Props

- `items`: `NavigationItem[]`. Visible label, href and optional icon.
- `currentPath`: `string`. Current destination.
- `label`: `string`. Navigation landmark.

## Accessibility

Native links with generous targets and visible names. Safe-area padding is built in; positioning belongs to your layout.

## Motion

CSS transitions explain state changes. Reduced motion removes travel.
