{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "navbar-tabs", "type": "registry:ui", "title": "Navbar Tabs", "description": "A two-tier navigation bar with main header and tabbed navigation below.", "registryDependencies": [ "button" ], "files": [ { "path": "registry/ruixenui/navbar-tabs.tsx", "content": "\"use client\";\n\nimport * as React from \"react\";\nimport Link from \"next/link\";\nimport { cn } from \"@/lib/utils\";\nimport { Button } from \"@/components/ui/button\";\n\nexport interface NavbarTabsProps {\n logo?: React.ReactNode;\n tabs?: { label: string; href: string; active?: boolean; count?: number }[];\n actions?: React.ReactNode;\n className?: string;\n}\n\nexport default function NavbarTabs({\n logo = Logo,\n tabs = [\n { label: \"Overview\", href: \"#\", active: true },\n { label: \"Analytics\", href: \"#\" },\n { label: \"Reports\", href: \"#\", count: 3 },\n { label: \"Settings\", href: \"#\" },\n ],\n actions,\n className,\n}: NavbarTabsProps) {\n return (\n
\n
\n \n {logo}\n \n
\n {actions ?? }\n
\n
\n
\n \n
\n
\n );\n}\n", "type": "registry:ui", "target": "components/ruixen/navbar-tabs.tsx" } ] }