{"success":true,"data":{"block":{"id":"navbar-sidebar-mobile","name":"Navbar Sidebar Mobile","title":"NavBar Sidebar Mobile","category":"Navbar","categorySlug":"navbar","description":"A navigation bar with a slide-out sidebar for mobile devices. Features standard horizontal navigation menu on desktop with dropdown menus containing icons, titles, and descriptions. Mobile view uses a slide-out sidebar from the left with accordion navigation and additional footer links. The sidebar includes a header with logo and close button, providing an app-like mobile navigation experience. Ideal for applications, dashboards, and websites that want a more immersive mobile navigation pattern.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290172/ooqi12d1ja2tr0gk1m80jr51apur/navbar-sidebar-mobile-desktop.png","mobile":"https://cdn.ing/assets/i/r/290173/jqxno5pq9newdrsdgr9ea3to41zx/navbar-sidebar-mobile-mobile.png"},"componentPath":"blocks/navbars/navbar-sidebar-mobile.tsx","code":"import { NavbarSidebarMobile } from \"@opensite/ui/blocks/navbars/navbar-sidebar-mobile\";\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      <NavbarSidebarMobile\n      logo={{\n        url: \"/\",\n        src: brandLogoPlaceholders.black[0],\n        title: \"AppName\",\n        alt: \"AppName Logo\",\n      }}\n      menu={[\n        {\n          title: \"Dashboard\",\n          url: \"#\",\n        },\n        {\n          title: \"Projects\",\n          items: [\n            { title: \"All Projects\", url: \"#\", icon: \"lucide/package\" },\n            { title: \"Recent\", url: \"#\", icon: \"lucide/code-2\" },\n            { title: \"Favorites\", url: \"#\", icon: \"lucide/file-text\" },\n          ],\n        },\n        {\n          title: \"Team\",\n          items: [\n            { title: \"Members\", url: \"#\", icon: \"lucide/users\" },\n            { title: \"Invitations\", url: \"#\", icon: \"lucide/mail\" },\n            { title: \"Settings\", url: \"#\", icon: \"lucide/settings\" },\n          ],\n        },\n        {\n          title: \"Analytics\",\n          url: \"#\",\n        },\n        {\n          title: \"Settings\",\n          items: [\n            { title: \"Profile\", url: \"#\", icon: \"lucide/user\" },\n            { title: \"Billing\", url: \"#\", icon: \"lucide/credit-card\" },\n            { title: \"Preferences\", url: \"#\", icon: \"lucide/sliders\" },\n          ],\n        },\n      ]}\n      authActions={[\n        {\n          label: \"Upgrade Plan\",\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."}},"menu":{"type":"array","description":"Navigation menu items","items":{"type":"object","description":"","fields":{"label":{"type":"string","description":"","required":true},"href":{"type":"string","description":"","required":true}},"typeLabel":"MenuItem"},"typeLabel":"MenuItem[]","required":true,"minItems":2,"maxItems":8},"authActions":{"type":"array","description":"Authentication action configurations","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,"minItems":0,"maxItems":2},"menu[].items":{"type":"object","description":"","minItems":1,"maxItems":6}},"exampleProps":{"logo":{"url":"/","src":"https://cdn.ing/assets/i/r/287635/1tmeh86afyxszfz7hbmvcc0oct8w/logo-dark.png","title":"AppName","alt":"AppName Logo"},"menu":[{"title":"Dashboard","url":"#"},{"title":"Projects","items":[{"title":"All Projects","url":"#","icon":"lucide/package"},{"title":"Recent","url":"#","icon":"lucide/code-2"}]},{"title":"Team","items":[{"title":"Members","url":"#","icon":"lucide/users"},{"title":"Settings","url":"#","icon":"lucide/settings"}]},{"title":"Analytics","url":"#"}],"authActions":[{"label":"Upgrade Plan","variant":"default","href":"#"}]},"dependencies":["@opensite/ui"],"tags":["navbar","navigation","sidebar","slide-out","mobile","app-like","accordion","dashboard","application","immersive"],"performance":{},"importantUsageNotes":"All media src values must be absolute URLs to real assets; relative paths and placeholder media variables are not allowed. The 'menu' prop accepts 'title'/'url' for flat items or 'title'/'items' for collapsible groups. url The 'mobileExtraLinks' array adds additional links at the bottom of the mobile sidebar. The 'authActions' array renders CTA buttons on the desktop navbar right side.","usageRequirements":{"requiredProps":["logo","menu"],"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":{"menu":{"minItems":2,"maxItems":8},"menu[].items":{"minItems":1,"maxItems":6},"authActions":{"minItems":0,"maxItems":2}}}}},"timestamp":"2026-06-27T20:18:03.130Z"}