{"success":true,"data":{"block":{"id":"navbar-platform-resources","name":"Navbar Platform Resources","title":"NavBar Platform Resources","category":"Navbar","categorySlug":"navbar","description":"A navigation bar with comprehensive platform and resources mega-menus. Features two main dropdowns: Platform menu with solutions grid and use cases section, and Resources menu with a three-column grid of resource links. Includes solution cards with icons and descriptions, use case items, and categorized resource links. Mobile view uses full-screen overlay with accordion navigation. Perfect for SaaS platforms, developer tools, and technology companies that need to showcase both product capabilities and educational resources.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290162/kybbx74ron1gf3j2la1guqpadk51/navbar-platform-resources-desktop.png","mobile":"https://cdn.ing/assets/i/r/290163/a1vpyknff92o16dgqr2mf014ngmk/navbar-platform-resources-mobile.png"},"componentPath":"blocks/navbars/navbar-platform-resources.tsx","code":"import { NavbarPlatformResources } from \"@opensite/ui/blocks/navbars/navbar-platform-resources\";\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      <NavbarPlatformResources\n        logo={{\n          url: \"/\",\n          src: brandLogoPlaceholders.black[0],\n          title: \"DevPlatform\",\n          alt: \"DevPlatform Logo\",\n        }}\n        menuLinks={[\n          {\n            label: \"Platform\",\n            layout: \"simple-list\",\n            links: [\n              {\n                label: \"Infrastructure\",\n                description:\n                  \"Cloud infrastructure services with a much longer description.\",\n                url: \"#\",\n                iconName: \"lucide/server\",\n              },\n              {\n                label: \"Databases\",\n                description: \"Managed database solutions\",\n                url: \"#\",\n                iconName: \"lucide/database\",\n              },\n              {\n                label: \"APIs\",\n                description: \"RESTful and GraphQL APIs\",\n                url: \"#\",\n                iconName: \"lucide/code\",\n              },\n              {\n                label: \"Hosting\",\n                description: \"Global edge network\",\n                url: \"#\",\n                iconName: \"lucide/globe\",\n              },\n            ],\n          },\n          {\n            label: \"Resources\",\n            layout: \"simple-list\",\n            links: [\n              {\n                label: \"Getting Started\",\n                description: \"Learn the basics\",\n                url: \"#\",\n                iconName: \"lucide/book-open\",\n              },\n              {\n                label: \"API Reference\",\n                description: \"Complete API documentation\",\n                url: \"#\",\n                iconName: \"lucide/file-code\",\n              },\n              {\n                label: \"Tutorials\",\n                description: \"Step-by-step guides\",\n                url: \"#\",\n                iconName: \"lucide/graduation-cap\",\n              },\n              {\n                label: \"Help Center\",\n                description: \"Get support\",\n                url: \"#\",\n                iconName: \"lucide/life-buoy\",\n              },\n            ],\n          },\n          {\n            label: \"Pricing\",\n            href: \"#pricing\",\n          },\n          {\n            label: \"Company\",\n            href: \"#company\",\n          },\n        ]}\n        actions={[\n          {\n            label: \"Get Started\",\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. LOGO IMAGE ONLY. Do not use photos, favicons, or video assets."}},"menuLinks":{"type":"array","description":"Navigation menu links with optional dropdown groups","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":true,"minItems":2,"maxItems":7},"actions":{"type":"array","description":"Actions rendered on the right side (desktop) and bottom (mobile)","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},"menuLinks[].links":{"type":"object","description":"","minItems":1,"maxItems":8}},"exampleProps":{"logo":{"url":"/","src":"https://cdn.ing/assets/i/r/287635/1tmeh86afyxszfz7hbmvcc0oct8w/logo-dark.png","title":"DevPlatform","alt":"DevPlatform Logo"},"menuLinks":[{"label":"Platform","layout":"list-with-icons","links":[{"label":"Infrastructure","description":"Cloud infrastructure services","url":"#","iconName":"lucide/server"},{"label":"Databases","description":"Managed database solutions","url":"#","iconName":"lucide/database"},{"label":"APIs","description":"RESTful and GraphQL APIs","url":"#","iconName":"lucide/code"}]},{"label":"Resources","layout":"simple-list","links":[{"label":"Getting Started","description":"Learn the basics","url":"#","iconName":"lucide/book-open"},{"label":"API Reference","description":"Complete API documentation","url":"#","iconName":"lucide/file-code"}]},{"label":"Pricing","href":"#"}],"actions":[{"label":"Get Started","variant":"default","href":"#","asButton":true}]},"dependencies":["@opensite/ui"],"tags":["navbar","navigation","platform","resources","mega-menu","solutions","use-cases","documentation","saas","developer-tools"],"performance":{},"importantUsageNotes":"All media src values must be absolute URLs to real assets; relative paths and placeholder media variables are not allowed. Each menuLink must specify a 'layout' field to determine the dropdown panel style. label description For 'featured-grid': provide 'links' and optionally a featured item. For 'two-column-cta': provide two column link groups and a CTA card. For 'multi-section': provide 'dropdownGroups' (IMenuLinkGroup[]). Link items may use 'background' for background image URLs in applicable layouts.","usageRequirements":{"requiredProps":["logo","menuLinks"],"mediaSlots":{"logo":{"path":"logo","roles":["logo"],"disallowedRoles":["favicon","video-thumbnail"],"minPixelClass":"small","required":true,"note":"Brand logo. LOGO IMAGE ONLY. Do not use photos, favicons, or video assets."}},"propConstraints":{"menuLinks":{"minItems":2,"maxItems":7},"menuLinks[].links":{"minItems":1,"maxItems":8}}}}},"timestamp":"2026-06-27T20:15:42.143Z"}