{"success":true,"data":{"block":{"id":"navbar-floating-pill","name":"Navbar Floating Pill","title":"NavBar Floating Pill","category":"Navbar","categorySlug":"navbar","description":"A modern floating navigation bar with pill-shaped design and glassmorphism effect. Positioned absolutely at the top of the page with rounded-full border, backdrop blur, and subtle shadow. Features smooth dropdown animations and a collapsible mobile menu with custom hamburger animation that transforms into an X. The floating design creates a premium, modern aesthetic that works well over hero sections and images. Ideal for creative agencies, portfolios, modern SaaS landing pages, and design-focused websites.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290160/mioofjoatqnc7e9hfnblqjiwzris/navbar-floating-pill-desktop.png","mobile":"https://cdn.ing/assets/i/r/290161/fxvu2jhqp97z6zwxdbaxdqto5eav/navbar-floating-pill-mobile.png"},"componentPath":"blocks/navbars/navbar-floating-pill.tsx","code":"import { NavbarFloatingPill } from \"@opensite/ui/blocks/navbars/navbar-floating-pill\";\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      <NavbarFloatingPill\n        logo={{\n          url: \"/\",\n          src: brandLogoPlaceholders.black[0],\n          alt: \"Brand Logo\",\n        }}\n        items={[\n          { label: \"Home\", href: \"#\" },\n          { label: \"Features\", href: \"#\" },\n          { label: \"Pricing\", href: \"#\" },\n          { label: \"About\", href: \"#\" },\n          { label: \"Contact\", href: \"#\" },\n        ]}\n        authActions={[\n          {\n            label: \"Get Started\",\n            variant: \"default\",\n            href: \"#\",\n          },\n        ]}\n      />\n\n      <CarouselAnimatedSections />\n      <FeatureShowcase />\n      <FaqSplitHelp />\n    </>\n  );\n}","propsSchema":{"className":{"type":"string","description":"Additional CSS classes for the section","required":false},"containerClassName":{"type":"string","description":"Additional CSS classes for the container","required":false},"pillWrapperClassName":{"type":"string","description":"Additional CSS classes for the pill navigation wrapper","required":false},"navigationMenuClassName":{"type":"string","description":"Additional CSS classes for the navigation menu","required":false},"actionsClassName":{"type":"string","description":"Additional CSS classes for the actions container","required":false},"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."}},"logoSlot":{"type":"object","description":"Custom slot for logo (overrides logo object)","typeLabel":"React.ReactNode","required":false},"logoClassName":{"type":"string","description":"Additional CSS classes for the logo","required":false},"items":{"type":"array","description":"Navigation menu items","items":{"type":"object","description":"","fields":{"title":{"type":"string","description":"","required":true},"url":{"type":"string","description":"","required":true},"icon":{"type":"object","description":"","fields":{},"typeLabel":"DynamicIconName","required":true}},"typeLabel":"NavItem"},"typeLabel":"NavItem[]","required":true,"minItems":3,"maxItems":7},"menuSlot":{"type":"object","description":"Custom slot for menu items (overrides items array)","typeLabel":"React.ReactNode","required":false},"authActions":{"type":"array","description":"Authentication action configurations","items":{"type":"object","description":"","fields":{"variant":{"type":"string","description":"","typeLabel":"\"default\" | \"destructive\" | \"outline\" | \"secondary\" | \"ghost\" | \"link\"","enum":["default","destructive","outline","secondary","ghost","link"],"required":false},"size":{"type":"string","description":"","typeLabel":"\"default\" | \"sm\" | \"md\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"","enum":["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 | string","required":false},"iconAfter":{"type":"object","description":"Icon to display after the label","typeLabel":"ReactNode | string","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":2},"authActionsSlot":{"type":"object","description":"Custom slot for auth actions (overrides authActions array)","typeLabel":"React.ReactNode","required":false},"background":{"type":"string","description":"Background style for the section","typeLabel":"SectionBackground","enum":["default","white","gray","dark","gradient","primary","secondary","transparent","muted"],"required":false},"spacing":{"type":"string","description":"Vertical spacing for the section","typeLabel":"SectionSpacing","enum":["none","sm","md","lg","xl","hero"],"required":false},"pattern":{"type":"string","description":"Optional background pattern name or URL","typeLabel":"PatternName","enum":["squareAltGrid","grid1","noise","dotPattern","dotPattern2","circles","waves","crossPattern","architect","tinyCheckers","p6","dots","circuitBoardBasic","circuitBoardFadeTop","circuitBoardFadeBottom","circuitBoardFadeCenter","circuitBoardFadeTopLeft","circuitBoardFadeTopRight","circuitBoardFadeBottomLeft","circuitBoardFadeBottomRight","dashedGridBasic","dashedGridFadeTop","dashedGridFadeBottom","dashedGridFadeCenter","dashedGridFadeTopLeft","dashedGridFadeTopRight","dashedGridFadeBottomLeft","dashedGridFadeBottomRight","diagonalCrossBasic","diagonalCrossFadeTop","diagonalCrossFadeBottom","diagonalCrossFadeCenter","diagonalCrossFadeTopLeft","diagonalCrossFadeTopRight","diagonalCrossFadeBottomLeft","diagonalCrossFadeBottomRight","gridBasic","gridFadeTop","gridFadeBottom","gridFadeCenter","gridFadeTopLeft","gridFadeTopRight","gridFadeBottomLeft","gridFadeBottomRight","gridDotsBasic","gridDotsFadeCenter","gradientGlowTop","gradientGlowBottom","spotlightLeft","spotlightRight","radialGradientTop","radialGradientBottom"],"required":false},"patternOpacity":{"type":"number","description":"Pattern overlay opacity (0-1)","required":false},"layoutVariant":{"type":"string","description":"Layout variant for the navbar","typeLabel":"NavbarLayoutVariant","enum":["fullScreenContainerizedLinks","fullScreenFullWidthLinks","floatingBar"],"required":false},"optixFlowConfig":{"type":"object","description":"OptixFlow image optimization configuration","fields":{"apiKey":{"type":"string","description":"API key for OptixFlow service","required":true},"compression":{"type":"number","description":"Compression level (0-100)","required":false}},"typeLabel":"OptixFlowConfig","required":false},"sectionId":{"type":"string","description":"Optional Section ID","required":false}},"exampleProps":{"logo":{"url":"/","src":"https://cdn.ing/assets/i/r/287635/1tmeh86afyxszfz7hbmvcc0oct8w/logo-dark.png","alt":"Brand Logo"},"items":[{"label":"Home","href":"#"},{"label":"Features","href":"#"},{"label":"Pricing","href":"#"},{"label":"About","href":"#"},{"label":"Contact","href":"#"}],"authActions":[{"label":"Get Started","variant":"default","href":"#"}]},"dependencies":["@opensite/ui"],"tags":["navbar","navigation","floating","pill","glassmorphism","backdrop-blur","modern","premium","creative","animated-hamburger"],"performance":{},"importantUsageNotes":"All media src values must be absolute URLs to real assets; relative paths and placeholder media variables are not allowed. The navbar floats above the page with a pill-shaped container and backdrop blur. Each 'items' entry uses 'label'/'href' (not 'title'/'url'). href The 'authActions' array renders outside the pill on the right.","usageRequirements":{"requiredProps":["logo","items"],"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":{"items":{"minItems":3,"maxItems":7},"authActions":{"minItems":0,"maxItems":2}}}}},"timestamp":"2026-08-27T08:43:38.018Z"}