{"success":true,"data":{"block":{"id":"navbar-centered-menu","name":"Navbar Centered Menu","title":"NavBar Centered Menu","category":"Navbar","categorySlug":"navbar","description":"A navigation bar with centered navigation links and dropdown menus that appear directly below each trigger. Features logo on the left, centered navigation with dropdowns, and CTA buttons on the right. Uses a custom NavigationMenu implementation that centers dropdown content below each menu item rather than spanning the full width. Mobile view uses a sheet with accordion navigation. Perfect for brands that want a balanced, symmetrical header layout.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290152/r1rsnx5tjtc304cyf3dngmfsqdyh/navbar-centered-menu-desktop.png","mobile":"https://cdn.ing/assets/i/r/290153/qkha1sruf9hd9z99x0u9rlvvl24t/navbar-centered-menu-mobile.png"},"componentPath":"blocks/navbars/navbar-centered-menu.tsx","code":"import { NavbarCenteredMenu } from \"@opensite/ui/blocks/navbars/navbar-centered-menu\";\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      <NavbarCenteredMenu\n        logo={{\n          url: \"/\",\n          src: brandLogoPlaceholders.black[0],\n          title: \"Company\",\n          alt: \"Company Logo\",\n        }}\n        menu={[\n          {\n            title: \"Products\",\n            url: \"#\",\n            items: [\n              {\n                title: \"Analytics\",\n                url: \"#\",\n                description: \"Track your business metrics\",\n                icon: \"lucide/bar-chart\",\n              },\n              {\n                title: \"Marketing\",\n                url: \"#\",\n                description: \"Grow your audience\",\n                icon: \"lucide/megaphone\",\n              },\n              {\n                title: \"Sales CRM\",\n                url: \"#\",\n                description: \"Manage customer relationships\",\n                icon: \"lucide/users\",\n              },\n            ],\n          },\n          {\n            title: \"Solutions\",\n            url: \"#\",\n            items: [\n              {\n                title: \"Enterprise\",\n                url: \"#\",\n                description: \"For large organizations\",\n                icon: \"lucide/building\",\n              },\n              {\n                title: \"Small Business\",\n                url: \"#\",\n                description: \"For growing companies\",\n                icon: \"lucide/briefcase\",\n              },\n            ],\n          },\n          {\n            title: \"Resources\",\n            url: \"#\",\n          },\n          {\n            title: \"Pricing\",\n            url: \"#\",\n          },\n        ]}\n        authActions={[\n          {\n            label: \"Sign Up\",\n            variant: \"outline\",\n            href: \"#\",\n            asButton: true,\n            size: \"sm\",\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 displayed in the navbar. LOGO IMAGE ONLY. Do not use photos, favicons, or video assets."}},"menu":{"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":3}},"exampleProps":{"logo":{"url":"/","src":"https://cdn.ing/assets/i/r/287635/1tmeh86afyxszfz7hbmvcc0oct8w/logo-dark.png","title":"Company","alt":"Company Logo"},"menu":[{"title":"Products","url":"#","items":[{"title":"Analytics","url":"#","description":"Track your business metrics","icon":"lucide/bar-chart"},{"title":"Sales CRM","url":"#","description":"Manage customer relationships","icon":"lucide/users"}]},{"title":"Resources","url":"#"},{"title":"Pricing","url":"#"}],"authActions":[{"label":"Sign Up","variant":"outline","href":"#","asButton":true,"size":"sm"}]},"dependencies":["@opensite/ui"],"tags":["navbar","navigation","header","centered","dropdown","balanced","symmetrical","responsive","mobile-menu"],"performance":{},"importantUsageNotes":"All media src values must be absolute URLs to real assets; relative paths and placeholder media variables are not allowed. Menu items use 'title'/'url' and support nested 'items' with icon and description. The 'authActions' array renders on the right side of the navbar. Use 'variant: 'outline'' for secondary CTA and 'variant: 'default'' for primary.","usageRequirements":{"requiredProps":["logo","menu"],"mediaSlots":{"logo":{"path":"logo","roles":["logo"],"disallowedRoles":["favicon","video-thumbnail"],"minPixelClass":"small","required":true,"note":"Brand logo displayed in the navbar. LOGO IMAGE ONLY. Do not use photos, favicons, or video assets."}},"propConstraints":{"menu":{"minItems":2,"maxItems":6},"authActions":{"minItems":0,"maxItems":3}}}}},"timestamp":"2026-06-27T20:13:54.906Z"}