{"success":true,"data":{"block":{"id":"navbar-transparent-overlay","name":"Navbar Transparent Overlay","title":"NavBar Transparent Overlay","category":"Navbar","categorySlug":"navbar","description":"A transparent navigation bar that transitions to solid on scroll. Logo and navigation links are visible against hero images or video backgrounds with appropriate contrast. Mobile view uses a full-screen overlay menu with large, centered navigation links that animate in with a staggered effect. The hamburger menu icon transforms into an X when open. Perfect for landing pages, portfolios, creative websites, and any page with prominent hero sections where the navbar should blend with the background initially.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290174/gvfzbh78ddz3wknqpo5d43nh01h4/navbar-transparent-overlay-desktop.png","mobile":"https://cdn.ing/assets/i/r/290175/mmgz8uf7ugk0n88esgvfk4evmlzu/navbar-transparent-overlay-mobile.png"},"componentPath":"blocks/navbars/navbar-transparent-overlay.tsx","code":"import { NavbarTransparentOverlay } from \"@opensite/ui/blocks/navbars/navbar-transparent-overlay\";\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      <NavbarTransparentOverlay\n        logo={{\n          url: \"/\",\n          src: brandLogoPlaceholders.black[0],\n          title: \"Portfolio\",\n          alt: \"Portfolio Logo\",\n        }}\n        navItems={[\n          { title: \"Work\", url: \"#\" },\n          { title: \"About\", url: \"#\" },\n          { title: \"Services\", url: \"#\" },\n          { title: \"Contact\", url: \"#\" },\n        ]}\n        authActions={[\n          {\n            label: \"Let's Talk\",\n            variant: \"outline\",\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},"navItems":{"type":"array","description":"Navigation items","items":{"type":"object","description":"","fields":{"title":{"type":"object","description":"","typeLabel":"React.ReactNode","required":true},"url":{"type":"string","description":"","required":true},"icon":{"type":"object","description":"","fields":{},"typeLabel":"DynamicIconName","required":false},"iconName":{"type":"object","description":"","fields":{},"typeLabel":"DynamicIconName","required":false}},"typeLabel":"NavItem"},"typeLabel":"NavItem[]","required":false},"authActions":{"type":"array","description":"Authentication action configurations for desktop","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","transparent","overlay","scroll-transition","hero","landing-page","portfolio","creative","staggered-animation"],"performance":{},"importantUsageNotes":"Use this navbar when the site needs a minimal, modern aesthetic where the navbar renders with a transparent background that overlays the hero section below — ideal for portfolio sites, creative agencies, and personal/branding sites with 3-5 top-level flat destinations and a single CTA. The demo uses 4 flat 'navItems' (Work, About, Services, Contact) and 1 'authActions' entry with 'outline' variant — keep navItems to 3-5 flat links with no dropdowns, since the transparent background makes complex dropdowns visually conflicting. 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. The 'authActions' prop drives the right-side button — if you supply multiple entries, use a variant of 'default' for the first and 'outline' for the second. 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:43:02.066Z"}