{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "navbar-icon-links", "type": "registry:ui", "title": "Navbar Icon Links", "description": "A navigation bar with social media icon links and primary CTA.", "dependencies": [ "lucide-react" ], "registryDependencies": [ "button" ], "files": [ { "path": "registry/ruixenui/navbar-icon-links.tsx", "content": "\"use client\";\n\nimport * as React from \"react\";\nimport Link from \"next/link\";\nimport { Github, Twitter } from \"lucide-react\";\nimport { cn } from \"@/lib/utils\";\nimport { Button } from \"@/components/ui/button\";\n\nexport interface NavbarIconLinksProps {\n logo?: React.ReactNode;\n links?: { label: string; href: string; active?: boolean }[];\n socials?: { icon: \"github\" | \"twitter\"; href: string; label: string }[];\n cta?: { label: string; href: string };\n className?: string;\n}\n\nconst iconMap = {\n github: Github,\n twitter: Twitter,\n};\n\nexport default function NavbarIconLinks({\n logo = Logo,\n links = [\n { label: \"Features\", href: \"#\" },\n { label: \"Pricing\", href: \"#\" },\n { label: \"Blog\", href: \"#\" },\n ],\n socials = [\n { icon: \"github\", href: \"#\", label: \"GitHub\" },\n { icon: \"twitter\", href: \"#\", label: \"Twitter\" },\n ],\n cta = { label: \"Get Started\", href: \"#\" },\n className,\n}: NavbarIconLinksProps) {\n return (\n \n \n \n \n {logo}\n \n \n {links.map((link) => (\n \n {link.label}\n \n ))}\n \n \n \n {socials.map((social) => {\n const Icon = iconMap[social.icon];\n return (\n \n \n \n \n \n );\n })}\n \n {cta.label}\n \n \n \n \n );\n}\n", "type": "registry:ui", "target": "components/ruixen/navbar-icon-links.tsx" } ] }