{"success":true,"data":{"block":{"id":"navbar-enterprise-mega","name":"Navbar Enterprise Mega Menu","title":"NavBar Enterprise Mega","category":"Navbar","categorySlug":"navbar","description":"A comprehensive enterprise-grade navigation bar with five distinct mega-menu styles. Features Solutions menu with bordered cards containing subpages and developer platform section, Products menu with featured image card and categorized listings, Global menu with enterprise features and regional location selectors, Partners menu with large promotional cards and partner type listings, and Resources menu with topic groups and resource cards. Each menu spans full width with rich content layouts. Mobile view uses full-screen sheet with accordion navigation. Ideal for large enterprise SaaS platforms, B2B software companies, and global organizations with complex product offerings.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290156/ml17i36bnbs054oyxrd8foy268ph/navbar-enterprise-mega-desktop.png","mobile":"https://cdn.ing/assets/i/r/290157/ary293y3wcg09vlswcsaa2e43rgn/navbar-enterprise-mega-mobile.png"},"componentPath":"blocks/navbars/navbar-enterprise-mega.tsx","code":"import { NavbarEnterpriseMega } from \"@opensite/ui/blocks/navbars/navbar-enterprise-mega\";\nimport { brandLogoPlaceholders, imagePlaceholders } 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      <NavbarEnterpriseMega\n        logo={{\n          url: \"#\",\n          src: brandLogoPlaceholders.black[0],\n          alt: \"Enterprise Corp Logo\",\n        }}\n        menuLinks={[\n          {\n            label: \"Solutions\",\n            layout: \"solutions-with-platform\",\n            solutionCards: [\n              {\n                id: \"enterprise\",\n                title: \"Enterprise\",\n                description: \"For large organizations\",\n                href: \"#\",\n                subpages: [\n                  {\n                    id: \"enterprise-security\",\n                    title: \"Security\",\n                    href: \"#\",\n                    icon: \"lucide/shield\",\n                  },\n                  {\n                    id: \"enterprise-compliance\",\n                    title: \"Compliance\",\n                    href: \"#\",\n                    icon: \"lucide/check-circle\",\n                  },\n                  {\n                    id: \"enterprise-support\",\n                    title: \"24/7 Support\",\n                    href: \"#\",\n                    icon: \"lucide/headphones\",\n                  },\n                ],\n              },\n              {\n                id: \"smb\",\n                title: \"Small Business\",\n                description: \"For growing companies\",\n                href: \"#smb\",\n                subpages: [\n                  {\n                    id: \"smb-start\",\n                    title: \"Getting Started\",\n                    href: \"#\",\n                    icon: \"lucide/rocket\",\n                  },\n                  {\n                    id: \"smb-templates\",\n                    title: \"Templates\",\n                    href: \"#\",\n                    icon: \"lucide/layout\",\n                  },\n                  {\n                    id: \"smb-training\",\n                    title: \"Training\",\n                    href: \"#\",\n                    icon: \"lucide/graduation-cap\",\n                  },\n                ],\n              },\n            ],\n            platformItems: [\n              {\n                id: \"react\",\n                title: \"React\",\n                href: \"#\",\n                icon: \"lucide/code\",\n              },\n              {\n                id: \"nodejs\",\n                title: \"Node.js\",\n                href: \"#\",\n                icon: \"lucide/server\",\n              },\n              {\n                id: \"python\",\n                title: \"Python\",\n                href: \"#\",\n                icon: \"lucide/terminal\",\n              },\n              {\n                id: \"graphql\",\n                title: \"GraphQL\",\n                href: \"#\",\n                icon: \"lucide/git-graph\",\n              },\n            ],\n            featuredHeroCard: {\n              title: \"New Platform Release\",\n              description:\n                \"Experience the next generation of our enterprise platform with advanced features\",\n              href: \"#\",\n              image: imagePlaceholders[10],\n            },\n          },\n          {\n            label: \"Products\",\n            layout: \"products-categorized\",\n            productCategories: [\n              {\n                title: \"Analytics\",\n                products: [\n                  {\n                    id: \"bi\",\n                    title: \"Business Intelligence\",\n                    description: \"Advanced analytics and reporting tools\",\n                    href: \"#\",\n                    image: imagePlaceholders[11],\n                  },\n                  {\n                    id: \"warehouse\",\n                    title: \"Data Warehouse\",\n                    description: \"Centralized data storage and management\",\n                    href: \"#\",\n                    image: imagePlaceholders[12],\n                  },\n                ],\n              },\n              {\n                title: \"Marketing\",\n                products: [\n                  {\n                    id: \"email\",\n                    title: \"Email Campaigns\",\n                    description: \"Automated email marketing platform\",\n                    href: \"#\",\n                    image: imagePlaceholders[13],\n                  },\n                  {\n                    id: \"social\",\n                    title: \"Social Media\",\n                    description: \"Social media management suite\",\n                    href: \"#\",\n                    image: imagePlaceholders[14],\n                  },\n                ],\n              },\n            ],\n            featuredHeroCard: {\n              title: \"Featured Product\",\n              description:\n                \"Check out our latest product launch with cutting-edge features\",\n              href: \"#\",\n              image: imagePlaceholders[15],\n            },\n          },\n          {\n            label: \"Resources\",\n            layout: \"resources-with-topics\",\n            resourceItems: [\n              {\n                id: \"docs\",\n                title: \"Documentation\",\n                description: \"Complete guides and API references\",\n                href: \"#\",\n                icon: \"lucide/book-open\",\n              },\n              {\n                id: \"blog\",\n                title: \"Blog\",\n                description: \"Latest updates and insights\",\n                href: \"#\",\n                icon: \"lucide/newspaper\",\n              },\n              {\n                id: \"cases\",\n                title: \"Case Studies\",\n                description: \"Customer success stories\",\n                href: \"#\",\n                icon: \"lucide/file-text\",\n              },\n              {\n                id: \"webinars\",\n                title: \"Webinars\",\n                description: \"Live training sessions\",\n                href: \"#\",\n                icon: \"lucide/video\",\n              },\n            ],\n            topicGroups: [\n              {\n                title: \"Learning Paths\",\n                topics: [\n                  {\n                    id: \"beginner\",\n                    title: \"Beginner Guide\",\n                    href: \"#\",\n                    icon: \"lucide/book\",\n                  },\n                  {\n                    id: \"advanced\",\n                    title: \"Advanced Topics\",\n                    href: \"#\",\n                    icon: \"lucide/graduation-cap\",\n                  },\n                  {\n                    id: \"certification\",\n                    title: \"Certification\",\n                    href: \"#\",\n                    icon: \"lucide/award\",\n                  },\n                ],\n              },\n            ],\n            featuredHeroCard: {\n              title: \"Learning Hub\",\n              description:\n                \"Explore our comprehensive learning resources and documentation\",\n              href: \"#\",\n              image: imagePlaceholders[16],\n            },\n          },\n          {\n            label: \"Company\",\n            href: \"#\",\n          },\n          {\n            label: \"Pricing\",\n            href: \"#\",\n          },\n        ]}\n        actions={[\n          {\n            label: \"Get Started\",\n            variant: \"default\",\n            href: \"#\",\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},"menuLinks":{"type":"array","description":"Navigation menu links with mega menu configurations","items":{"type":"object","description":"","fields":{"label":{"type":"object","description":"Display text for the menu trigger","typeLabel":"React.ReactNode","required":true},"href":{"type":"string","description":"Direct link URL (for non-dropdown items)","required":false},"layout":{"type":"string","description":"Layout type for dropdown content","typeLabel":"MegaMenuLayout","required":false},"links":{"type":"array","description":"Links array for dropdown content","items":{"type":"object","description":"","fields":{"label":{"type":"object","description":"Display text for the link","typeLabel":"React.ReactNode","required":true},"description":{"type":"object","description":"Optional description text","typeLabel":"React.ReactNode","required":false},"href":{"type":"string","description":"URL the link navigates to (preferred)","required":false},"url":{"type":"string","description":"URL the link navigates to (legacy, use href instead)","required":false},"icon":{"type":"object","description":"Icon name or element to display","fields":{},"typeLabel":"DynamicIconName","required":false},"iconName":{"type":"object","description":"Alternate icon name or element for DynamicIcon component","fields":{},"typeLabel":"DynamicIconName","required":false},"image":{"type":"string","description":"Image URL for visual representation","required":false},"background":{"type":"string","description":"Background color or image for the item","required":false}},"typeLabel":"ILinkItem"},"typeLabel":"ILinkItem[]","required":false},"dropdownGroups":{"type":"array","description":"Grouped links for more complex layouts","items":{"type":"object","description":"","fields":{"label":{"type":"object","description":"Group label/title","typeLabel":"React.ReactNode","required":true},"description":{"type":"string","description":"Optional group description","required":false},"image":{"type":"string","description":"Optional group image","required":false},"links":{"type":"array","description":"Links within this group","items":{"type":"object","description":"","fields":{"label":{"type":"object","description":"Display text for the link","typeLabel":"React.ReactNode","required":true},"description":{"type":"object","description":"Optional description text","typeLabel":"React.ReactNode","required":false},"href":{"type":"string","description":"URL the link navigates to (preferred)","required":false},"url":{"type":"string","description":"URL the link navigates to (legacy, use href instead)","required":false},"icon":{"type":"object","description":"Icon name or element to display","fields":{},"typeLabel":"DynamicIconName","required":false},"iconName":{"type":"object","description":"Alternate icon name or element for DynamicIcon component","fields":{},"typeLabel":"DynamicIconName","required":false},"image":{"type":"string","description":"Image URL for visual representation","required":false},"background":{"type":"string","description":"Background color or image for the item","required":false}},"typeLabel":"ILinkItem"},"typeLabel":"ILinkItem[]","required":true}},"typeLabel":"IMenuLinkGroup"},"typeLabel":"IMenuLinkGroup[]","required":false}},"typeLabel":"IMenuLink"},"typeLabel":"IMenuLink[]","required":false},"actions":{"type":"array","description":"Action configurations (e.g., login, signup buttons)","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","enterprise","mega-menu","solutions","products","global","partners","resources","b2b","corporate"],"performance":{},"importantUsageNotes":"Use this navbar when the site is a B2B enterprise or large SaaS platform that needs multiple distinct mega-menu layouts — 'solutions-with-platform', 'products-categorized', and 'resources-with-topics' — each with a featured hero card image; typically for enterprise software, cloud platforms, or large product suites. The demo locks 5 top-level 'menuLinks': 3 with mega-menu layouts and 2 as flat href links — 'Solutions' uses layout 'solutions-with-platform' with 2 solutionCards (each with 3 subpages) and 4 platformItems; 'Products' uses layout 'products-categorized' with 2 productCategories (each with 2 products with images); 'Resources' uses layout 'resources-with-topics' with 4 resourceItems and 1 topicGroup of 3 topics; all 3 mega-menu items require a 'featuredHeroCard' with a real image — DO NOT USE this block without real images for each mega-menu panel's featuredHeroCard. 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. If you supply multiple 'actions', use a variant of 'default' for the first action and 'outline' for the second action. 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:42:47.231Z"}