{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "navbar-centered", "type": "registry:ui", "title": "Navbar Centered", "description": "A navigation bar with centered navigation links between logo and actions.", "registryDependencies": [ "button" ], "files": [ { "path": "registry/ruixenui/navbar-centered.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 NavbarCenteredProps {\n logo?: React.ReactNode;\n links?: { label: string; href: string; active?: boolean }[];\n actions?: React.ReactNode;\n className?: string;\n}\n\nexport default function NavbarCentered({\n logo = Logo,\n links = [\n { label: \"Home\", href: \"#\", active: true },\n { label: \"Features\", href: \"#\" },\n { label: \"Pricing\", href: \"#\" },\n { label: \"About\", href: \"#\" },\n ],\n actions,\n className,\n}: NavbarCenteredProps) {\n return (\n \n \n \n {logo}\n \n \n {links.map((link) => (\n \n {link.label}\n \n ))}\n \n \n {actions ?? (\n <>\n \n Sign In\n \n Get Started\n >\n )}\n \n \n \n );\n}\n", "type": "registry:ui", "target": "components/ruixen/navbar-centered.tsx" } ] }