import type { ReactNode } from "react"; import { cx } from "../lib/cx"; export interface NavItem { key: string; icon: ReactNode; label: string; active?: boolean; onClick?: () => void; href?: string; } export interface BottomNavProps { items: NavItem[]; className?: string; } /** * Floating Glass Pill bottom navigation. * * - Fixed to the bottom, centered, floats above content (not edge-to-edge). * - Respects `env(safe-area-inset-bottom)` so it clears the iOS home indicator. * - Active item gets the accent gradient applied directly to icon + label * (bg-clip-text) rather than a pill behind it, so it reads against the * glass background instead of competing with it. */ export function BottomNav({ items, className }: BottomNavProps) { return ( ); }