{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "navigation-menu-05",
  "title": "Underlined Navigation Menu",
  "description": "A navigation menu with underlined styling",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "navigation-menu"
  ],
  "files": [
    {
      "path": "src/components/customized/navigation-menu/navigation-menu-05.tsx",
      "content": "import { BookOpen, Home, Rss } from \"lucide-react\";\nimport Link from \"next/link\";\nimport { cn } from \"@/lib/utils\";\nimport {\n  NavigationMenu,\n  NavigationMenuItem,\n  NavigationMenuLink,\n  NavigationMenuList,\n} from \"@/registry/ui/navigation-menu\";\n\nconst navigationMenuItems = [\n  { title: \"Home\", href: \"#\", icon: Home, isActive: true },\n  { title: \"Blog\", href: \"#blog\", icon: Rss },\n  { title: \"Docs\", href: \"#docs\", icon: BookOpen },\n];\n\nexport default function NavigationMenuWithActiveItem() {\n  return (\n    <NavigationMenu>\n      <NavigationMenuList className=\"space-x-8\">\n        {navigationMenuItems.map((item) => (\n          <NavigationMenuItem key={item.title}>\n            <NavigationMenuLink\n              active={item.isActive}\n              asChild\n              className={cn(\n                \"group relative inline-flex h-9 w-max items-center justify-center px-0.5 py-2 font-medium text-sm\",\n                \"before:absolute before:inset-x-0 before:bottom-0 before:h-[2px] before:scale-x-0 before:bg-primary before:transition-transform\",\n                \"hover:text-accent-foreground hover:before:scale-x-100\",\n                \"focus:text-accent-foreground focus:outline-hidden focus:before:scale-x-100\",\n                \"disabled:pointer-events-none disabled:opacity-50\",\n                \"data-active:bg-transparent data-[state=open]:before:scale-x-100 data-active:before:scale-x-100\",\n                \"hover:bg-transparent focus:bg-transparent active:bg-transparent\"\n              )}\n            >\n              <Link className=\"flex-row items-center gap-2.5\" href={item.href}>\n                <item.icon className=\"h-5 w-5 shrink-0\" />\n                {item.title}\n              </Link>\n            </NavigationMenuLink>\n          </NavigationMenuItem>\n        ))}\n      </NavigationMenuList>\n    </NavigationMenu>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}