{"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":true,"mediaHints":{"path":"logo","roles":["logo"],"disallowedRoles":["favicon","video-thumbnail"],"minPixelClass":"small","required":true,"note":"Brand logo (white version recommended for dark theme). LOGO IMAGE ONLY. Do not use photos, favicons, or video assets."}},"navigation":{"type":"array","description":"Navigation menu items","items":{"type":"object","description":"","fields":{"label":{"type":"string","description":"","required":true},"href":{"type":"string","description":"","required":true}},"typeLabel":"MenuItem"},"typeLabel":"MenuItem[]","required":true,"minItems":2,"maxItems":6},"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,"minItems":0,"maxItems":2},"navigation[].links":{"type":"object","description":"","minItems":1,"maxItems":6}},"exampleProps":{"logo":{"url":"/","src":"https://cdn.ing/assets/i/r/287634/e4cmvu8nbwoqy2qer90t4gpap0ed/logo-light.png","title":"Developer Platform","alt":"Developer Platform Logo"},"navigation":[{"title":"Products","links":[{"label":"API Gateway","description":"Manage your APIs efficiently","url":"#","iconName":"lucide/server","iconColor":"#3b82f6"},{"label":"Database","description":"Scalable cloud database","url":"#","iconName":"lucide/database","iconColor":"#8b5cf6"},{"label":"Authentication","description":"Secure user authentication","url":"#","iconName":"lucide/shield","iconColor":"#10b981"}]},{"title":"Pricing","url":"#"}],"authActions":[{"label":"Start Free Trial","variant":"default","href":"#","asButton":true}]},"dependencies":["@opensite/ui"],"tags":["navbar","navigation","dark-theme","colorful-icons","github-stars","developer-tools","open-source","tech","modern","icon-indicators"],"performance":{},"importantUsageNotes":"All media src values must be absolute URLs to real assets; relative paths and placeholder media variables are not allowed. description url iconName The optional 'githubUrl' prop enables a GitHub stars badge fetched client-side. The 'authActions' array renders on the right side of the navbar.","usageRequirements":{"requiredProps":["logo","navigation"],"mediaSlots":{"logo":{"path":"logo","roles":["logo"],"disallowedRoles":["favicon","video-thumbnail"],"minPixelClass":"small","required":true,"note":"Brand logo (white version recommended for dark theme). LOGO IMAGE ONLY. Do not use photos, favicons, or video assets."}},"propConstraints":{"navigation":{"minItems":2,"maxItems":6},"navigation[].links":{"minItems":1,"maxItems":6},"authActions":{"minItems":0,"maxItems":2}}}}},"timestamp":"2026-06-27T20:18:42.222Z"}