{"success":true,"data":{"block":{"id":"navbar-dark-icons","name":"Navbar Dark Icons","title":"NavBar Dark Icons","category":"Navbar","categorySlug":"navbar","description":"A dark-themed navigation bar with colorful icon indicators in dropdown menus. Features a dark background with dropdown menus containing items with colorful icon backgrounds that provide visual categorization. Includes a GitHub stars counter button and primary CTA. Mobile view uses a full-screen dark sheet with accordion navigation. Perfect for developer tools, open-source projects, tech startups, and products that want a modern dark aesthetic with visual hierarchy through color-coded icons.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290166/3813fzr948c969xdumfp3x1tmix7/navbar-dark-icons-desktop.png","mobile":"https://cdn.ing/assets/i/r/290167/h1pglgjl44uknkj4ms9ixlu27yyb/navbar-dark-icons-mobile.png"},"componentPath":"blocks/navbars/navbar-dark-icons.tsx","code":"import { NavbarDarkIcons } from \"@opensite/ui/blocks/navbars/navbar-dark-icons\";\nimport { brandLogoPlaceholders } from \"@/lib/media\";\nimport CarouselAnimatedSections from \"@/blocks/carousel/carousel-animated-sections\";\nimport FeatureShowcase from \"@/blocks/features/feature-showcase\";\nimport FaqSplitHelp from \"@/blocks/faq/faq-split-help\";\n\nexport default function Demo() {\n  return (\n    <>\n      <NavbarDarkIcons\n        logo={{\n          url: \"/\",\n          src: brandLogoPlaceholders.white[0],\n          title: \"Developer Platform\",\n          alt: \"Developer Platform Logo\",\n        }}\n        navigation={[\n          {\n            title: \"Products\",\n            links: [\n              {\n                label: \"API Gateway\",\n                description: \"Manage your APIs efficiently\",\n                url: \"#\",\n                iconName: \"lucide/server\",\n                iconColor: \"#3b82f6\",\n              },\n              {\n                label: \"Database\",\n                description: \"Scalable cloud database\",\n                url: \"#\",\n                iconName: \"lucide/database\",\n                iconColor: \"#8b5cf6\",\n              },\n              {\n                label: \"Authentication\",\n                description: \"Secure user authentication\",\n                url: \"#\",\n                iconName: \"lucide/shield\",\n                iconColor: \"#10b981\",\n              },\n              {\n                label: \"Storage\",\n                description: \"Cloud file storage\",\n                url: \"#\",\n                iconName: \"lucide/hard-drive\",\n                iconColor: \"#f59e0b\",\n              },\n            ],\n          },\n          {\n            title: \"Resources\",\n            links: [\n              {\n                label: \"Documentation\",\n                description: \"Comprehensive guides\",\n                url: \"#\",\n                iconName: \"lucide/book-open\",\n                iconColor: \"#06b6d4\",\n              },\n              {\n                label: \"API Reference\",\n                description: \"Complete API documentation\",\n                url: \"#\",\n                iconName: \"lucide/code\",\n                iconColor: \"#ec4899\",\n              },\n              {\n                label: \"Community\",\n                description: \"Join our community\",\n                url: \"#\",\n                iconName: \"lucide/users\",\n                iconColor: \"#14b8a6\",\n              },\n            ],\n          },\n          {\n            title: \"Pricing\",\n            url: \"#\",\n          },\n        ]}\n        authActions={[\n          {\n            label: \"Start Free Trial\",\n            variant: \"default\",\n            href: \"#\",\n            asButton: true,\n          },\n        ]}\n      />\n\n      <CarouselAnimatedSections />\n      <FeatureShowcase />\n      <FaqSplitHelp />\n    </>\n  );\n}","propsSchema":{"logo":{"type":"object","description":"Logo configuration","fields":{"url":{"type":"string","description":"URL to navigate to when logo is clicked","required":false},"src":{"type":"string","description":"Image source for the logo","required":false},"alt":{"type":"string","description":"Alt text for the logo image","required":false},"title":{"type":"object","description":"Text title to display (alternative to image)","typeLabel":"React.ReactNode","required":false},"className":{"type":"string","description":"Additional CSS classes for the logo","required":false}},"typeLabel":"LogoConfig","required":false},"navigation":{"type":"array","description":"Navigation menu items","items":{"type":"object","description":"","fields":{"title":{"type":"string","description":"","required":true},"url":{"type":"string","description":"","required":false},"tabs":{"type":"array","description":"","items":{"type":"object","description":"","fields":{"id":{"type":"string","description":"","required":true},"title":{"type":"string","description":"","required":true},"icon":{"type":"object","description":"","fields":{},"typeLabel":"DynamicIconName","required":false},"links":{"type":"array","description":"","items":{"type":"object","description":"","fields":{"title":{"type":"string","description":"","required":true},"description":{"type":"string","description":"","required":false},"url":{"type":"string","description":"","required":true},"icon":{"type":"object","description":"","fields":{},"typeLabel":"DynamicIconName","required":false}},"typeLabel":"{ title: string; description?: string; url: string; icon?: DynamicIconName; }"},"typeLabel":"{ title: string; description?: string; url: string; icon?: DynamicIconName; }[]","required":true},"featured":{"type":"object","description":"","fields":{"title":{"type":"string","description":"","required":true},"description":{"type":"string","description":"","required":true},"url":{"type":"string","description":"","required":true},"image":{"type":"string","description":"","required":true}},"typeLabel":"{ title: string; description: string; url: string; image: string; }","required":false}},"typeLabel":"TabItem"},"typeLabel":"TabItem[]","required":false}},"typeLabel":"MenuItem"},"typeLabel":"MenuItem[]","required":false},"authActions":{"type":"array","description":"Authentication action configurations","items":{"type":"object","description":"","fields":{"variant":{"type":"string","description":"","typeLabel":"\"default\" | \"destructive\" | \"outline\" | \"secondary\" | \"ghost\" | \"link\"","required":false},"size":{"type":"string","description":"","typeLabel":"\"default\" | \"sm\" | \"md\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"","required":false},"label":{"type":"object","description":"Button/link label text or ReactNode","typeLabel":"ReactNode","required":false},"icon":{"type":"object","description":"Icon to display (typically before label)","typeLabel":"ReactNode","required":false},"iconAfter":{"type":"object","description":"Icon to display after the label","typeLabel":"ReactNode","required":false},"href":{"type":"string","description":"URL for link behavior","required":false},"onClick":{"type":"object","description":"Click handler for button behavior","typeLabel":"MouseEventHandler","required":false},"className":{"type":"string","description":"Additional CSS classes for the action","required":false},"children":{"type":"object","description":"Custom children (overrides label + icon rendering)","typeLabel":"ReactNode","required":false},"aria-label":{"type":"string","description":"ARIA label for accessibility","required":false},"asButton":{"type":"boolean","description":"Render as a button element instead of an anchor/link","required":false}},"typeLabel":"ActionConfig"},"typeLabel":"ActionConfig[]","required":false}},"defaultProps":{},"dependencies":["@opensite/ui"],"tags":["navbar","navigation","dark-theme","colorful-icons","github-stars","developer-tools","open-source","tech","modern","icon-indicators"],"performance":{},"importantUsageNotes":"Use this navbar when the site has a dark-themed or developer/devtools aesthetic and needs dropdown menus where each sub-link has a distinctly colored lucide icon — ideal for developer platforms, API products, or infrastructure services. The demo uses a 'navigation' array of 3 items: 2 have 'links' sub-arrays (4 links and 3 links respectively, each with 'iconName' and 'iconColor'), and 1 is a flat href-only entry — keep top-level items to 3-5, and provide a unique lucide 'iconName' and a distinct hex 'iconColor' for every sub-link. Only set 'logo.src' if a real brand logo exists in the media library; otherwise omit 'logo.src' and rely on 'logo.title' as plain text. The 'authActions' prop drives the right-side buttons — if you supply multiple entries, use a variant of 'default' for the first and 'outline' for the second. Only use real internal route hrefs and important external URLs — do not invent or guess routes. The mobile menu is built into this block — do not strip it or override its behavior; preserve the demo's mobile structure. Follow the example props closely for this block — the demo encodes the canonical layout, and deviating from it will produce broken or unusable navigation."}},"timestamp":"2026-05-13T10:43:32.465Z"}