Bottom Navigation Dock
A production-scale, light + dark Bottom Navigation Dock component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add bottom-navigation-dockLive preview available in the gallery.
Usage
import { BottomNavigationDock } from "@lerpa/ui";
<BottomNavigationDock />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| items | DockItem[] | — | |
| defaultTab | string | — | |
| renderPanel | (activeId: string) => React.ReactNode | — | |
| onChange | (id: string) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.