{"success":true,"data":{"block":{"id":"navbar-animated-preview","name":"Navbar Animated Preview","title":"NavBar Animated Preview","category":"Navbar","categorySlug":"navbar","description":"A navigation bar with animated image previews and multiple distinct dropdown styles. Features three dropdown menu types: Products menu with animated image preview that transitions smoothly between items, Solutions menu with featured cards and organized grid layout, and Developers menu with grouped links and featured image section. Navigation menu spans full width with smooth fade-in animations. Mobile view uses full-screen sheet with accordion navigation. Ideal for SaaS products, technology platforms, and companies that want engaging, animated navigation experiences.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290168/1eipzn3pqgle6e5gg752thqdk897/navbar-animated-preview-desktop.png","mobile":"https://cdn.ing/assets/i/r/290169/e4s5xasn4c46y31t4gfu45o32s4w/navbar-animated-preview-mobile.png"},"componentPath":"blocks/navbars/navbar-animated-preview.tsx","code":"import { NavbarAnimatedPreview } from \"@opensite/ui/blocks/navbars/navbar-animated-preview\";\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      <NavbarAnimatedPreview\n        logo={{\n          url: \"/\",\n          src: brandLogoPlaceholders.black[0],\n          alt: \"Company Logo\",\n        }}\n        menuLinks={[\n          {\n            label: \"Products\",\n            layout: \"animated-image-preview\",\n            links: [\n              {\n                label: \"Analytics Platform\",\n                description: \"Real-time data insights and reporting\",\n                image: \"https://toastability-production.s3.amazonaws.com/xlp46pzk3a4d73jgjx4s7xdafwpn\",\n                url: \"#\",\n                iconName: \"lucide/bar-chart\",\n              },\n              {\n                label: \"Marketing Suite\",\n                description: \"Complete marketing automation tools\",\n                image: \"https://toastability-production.s3.amazonaws.com/g1iuifb3yzoofo9c7a00koyn6q1t\",\n                url: \"#\",\n                iconName: \"lucide/megaphone\",\n              },\n              {\n                label: \"CRM System\",\n                description: \"Customer relationship management\",\n                image: \"https://toastability-production.s3.amazonaws.com/z9u4sdrj2oq3eds0qyui0nxsus3j\",\n                url: \"#\",\n                iconName: \"lucide/users\",\n              },\n              {\n                label: \"API Platform\",\n                description: \"Developer-friendly APIs\",\n                image: \"https://toastability-production.s3.amazonaws.com/63aotyt2pb4gqpccej2kkw8reson\",\n                url: \"#\",\n                iconName: \"lucide/code\",\n              },\n            ],\n          },\n          {\n            label: \"Solutions\",\n            layout: \"featured-cards-grid\",\n            featuredLinks: [\n              {\n                label: \"Enterprise\",\n                description: \"Scale your business with enterprise solutions\",\n                url: \"#\",\n                iconName: \"lucide/building\",\n                background: \"https://toastability-production.s3.amazonaws.com/pjgb223h1bjywdk15i3zi7pjhutg\",\n              },\n              {\n                label: \"Small Business\",\n                description: \"Perfect tools for growing companies\",\n                url: \"#\",\n                iconName: \"lucide/briefcase\",\n                background: \"https://toastability-production.s3.amazonaws.com/we9r4e711an6d0bd3dwbl9tb9z7q\",\n              },\n            ],\n            links: [\n              {\n                label: \"E-Commerce\",\n                description: \"Online store solutions\",\n                url: \"#\",\n                iconName: \"lucide/shopping-cart\",\n              },\n              {\n                label: \"Healthcare\",\n                description: \"HIPAA-compliant solutions\",\n                url: \"#\",\n                iconName: \"lucide/heart-pulse\",\n              },\n              {\n                label: \"Education\",\n                description: \"Learning management systems\",\n                url: \"#\",\n                iconName: \"lucide/graduation-cap\",\n              },\n              {\n                label: \"Finance\",\n                description: \"Secure financial tools\",\n                url: \"#\",\n                iconName: \"lucide/wallet\",\n              },\n            ],\n          },\n          {\n            label: \"Developers\",\n            layout: \"grouped-links-image\",\n            groupLinks: [\n              {\n                label: \"Documentation\",\n                links: [\n                  {\n                    label: \"Getting Started\",\n                    description: \"Quick start guide\",\n                    url: \"#\",\n                    iconName: \"lucide/book-open\",\n                  },\n                  {\n                    label: \"API Reference\",\n                    description: \"Complete API docs\",\n                    url: \"#\",\n                    iconName: \"lucide/file-text\",\n                  },\n                ],\n              },\n              {\n                label: \"Resources\",\n                links: [\n                  {\n                    label: \"Code Examples\",\n                    description: \"Sample implementations\",\n                    url: \"#\",\n                    iconName: \"lucide/code-2\",\n                  },\n                  {\n                    label: \"SDKs & Tools\",\n                    description: \"Developer tools\",\n                    url: \"#\",\n                    iconName: \"lucide/package\",\n                  },\n                ],\n              },\n            ],\n            imageLink: {\n              label: \"New: API v2.0 Released\",\n              image: \"https://toastability-production.s3.amazonaws.com/f8rfrurzo743ym1s7m5xtbombunz\",\n              url: \"#\",\n            },\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":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":6,"mediaHints":{"path":"menuLinks[].imageLink.image","roles":["feature"],"disallowedRoles":["logo","favicon","video-thumbnail"],"minPixelClass":"large","required":false,"note":"Side image for grouped-links-image layout. IMAGE MEDIA ONLY. Do not use logos, favicons, or video assets."}},"actions":{"type":"array","description":"Action configurations (e.g., Sign In, Get Started 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},"menuLinks[].links":{"type":"object","description":"","minItems":1,"maxItems":6},"menuLinks[].featuredLinks":{"type":"object","description":"","minItems":1,"maxItems":4}},"exampleProps":{"logo":{"url":"/","src":"https://cdn.ing/assets/i/r/287635/1tmeh86afyxszfz7hbmvcc0oct8w/logo-dark.png","alt":"Company Logo"},"menuLinks":[{"label":"Products","layout":"animated-image-preview","links":[{"label":"Analytics Platform","description":"Real-time data insights and reporting","image":"https://cdn.ing/assets/i/r/308196/g6bbn73f7gxal82uu49m9prfd0u8/workplace-in-cafe.webp","url":"#","iconName":"lucide/bar-chart"},{"label":"Marketing Suite","description":"Complete marketing automation tools","image":"https://cdn.ing/assets/i/r/308196/g6bbn73f7gxal82uu49m9prfd0u8/workplace-in-cafe.webp","url":"#","iconName":"lucide/megaphone"},{"label":"CRM System","description":"Customer relationship management","image":"https://cdn.ing/assets/i/r/308196/g6bbn73f7gxal82uu49m9prfd0u8/workplace-in-cafe.webp","url":"#","iconName":"lucide/users"}]},{"label":"Solutions","layout":"featured-cards-grid","featuredLinks":[{"label":"Enterprise","description":"Scale your business with enterprise solutions","url":"#","iconName":"lucide/building","background":"https://cdn.ing/assets/i/r/308196/g6bbn73f7gxal82uu49m9prfd0u8/workplace-in-cafe.webp"},{"label":"Small Business","description":"Perfect tools for growing companies","url":"#","iconName":"lucide/briefcase","background":"https://cdn.ing/assets/i/r/308196/g6bbn73f7gxal82uu49m9prfd0u8/workplace-in-cafe.webp"}],"links":[{"label":"E-Commerce","description":"Online store solutions","url":"#","iconName":"lucide/shopping-cart"}]},{"label":"Developers","layout":"grouped-links-image","groupLinks":[{"label":"Documentation","links":[{"label":"Getting Started","description":"Quick start guide","url":"#","iconName":"lucide/book-open"}]}],"imageLink":{"label":"New: API v2.0 Released","image":"https://cdn.ing/assets/i/r/308196/g6bbn73f7gxal82uu49m9prfd0u8/workplace-in-cafe.webp","url":"#"}},{"label":"Pricing","href":"#"}],"actions":[{"label":"Get Started","variant":"default","href":"#"}]},"dependencies":["@opensite/ui"],"tags":["navbar","navigation","animated","image-preview","transitions","products","solutions","developers","full-width","engaging"],"performance":{},"importantUsageNotes":"All media src values must be absolute URLs to real assets; relative paths and placeholder media variables are not allowed. For 'animated-image-preview': each link in 'links' should include an 'image' absolute URL. For 'featured-cards-grid': 'featuredLinks' items use 'background' for background image URLs; 'links' are standard icon links. For 'grouped-links-image': use 'groupLinks' (IMenuLinkGroup[]) and optionally 'imageLink' with an 'image' URL. All image and background URLs must be absolute.","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."},"menuLinks[].links[].image":{"path":"menuLinks[].links[].image","roles":["feature"],"disallowedRoles":["logo","favicon","video-thumbnail"],"minPixelClass":"large","required":false,"note":"Preview image for animated-image-preview layout links. IMAGE MEDIA ONLY. Do not use logos, favicons, or video assets."},"menuLinks[].featuredLinks[].background":{"path":"menuLinks[].featuredLinks[].background","roles":["feature"],"disallowedRoles":["logo","favicon","video-thumbnail"],"minPixelClass":"large","required":false,"note":"Background image for featured card links. IMAGE MEDIA ONLY. Do not use logos, favicons, or video assets."},"menuLinks[].imageLink.image":{"path":"menuLinks[].imageLink.image","roles":["feature"],"disallowedRoles":["logo","favicon","video-thumbnail"],"minPixelClass":"large","required":false,"note":"Side image for grouped-links-image layout. IMAGE MEDIA ONLY. Do not use logos, favicons, or video assets."}},"propConstraints":{"menuLinks":{"minItems":2,"maxItems":6},"menuLinks[].links":{"minItems":1,"maxItems":6},"menuLinks[].featuredLinks":{"minItems":1,"maxItems":4}}}}},"timestamp":"2026-06-27T20:18:27.162Z"}