Sidebar Drawer Navbar

Navbar with slide-in sidebar drawer featuring grouped navigation sections and overlay backdrop. Perfect for content-rich sites wanting organized off-canvas navigation menus.

PRO

Navbar for content-rich sites that want their full navigation off-canvas: a slim top bar shows only the logo, up to four links, and action buttons, while a hamburger opens a full-height slide-in drawer with grouped, titled sections for everything else.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/navbar34?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/navbar34?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/navbar34.tsx and the shadcn/ui dependency it needs (button).

Quick start

The installed file exports navbar34Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.

tsx
import { Navbar34, navbar34Demo } from "@/components/beste/block/navbar34";

export default function Layout() {
  return <Navbar34 {...navbar34Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Navbar34 } from "@/components/beste/block/navbar34";

export default function Layout() {
  return (
    <Navbar34
      logo={{ text: "Acme", href: "/" }}
      navSections={[
        { items: [{ label: "Home", href: "/" }, { label: "Blog", href: "/blog" }] },
        {
          title: "Company",
          items: [
            { label: "Careers", href: "/careers" },
            { label: "Contact", href: "/contact" },
          ],
        },
      ]}
      actionButtons={[{ label: "Get started", href: "/signup" }]}
      sidebarPosition="left"
    />
  );
}

Props

PropTypeDefaultDescription
logo{ text: string; href?: string }Brand text and link; falls back to "Brand" / # when omitted
navSectionsNavSection[][]Grouped nav links shown inside the drawer; only the first section's first 4 items also appear inline in the top bar
actionButtonsArray<{ label: string; href?: string; variant?: "default" | "outline" | "ghost" }>[]Buttons shown in the desktop top bar and repeated in the drawer footer
sidebarPosition"left" | "right""left"Which edge the hamburger button and the drawer itself are anchored to
classNamestringExtra classes for the outer <nav>
ts
type NavSection = { title?: string; items: NavItem[] };

type NavItem = { label: string; href?: string; icon?: React.ReactNode };

Behavior notes

More Navigation blocks

View all Navigation
PRO

navbar49

Drawer Navbar

Minimal navbar with an availability status whose menu opens a dark right-side drawer — numbered links float in with a stagger over a backdrop, with a seal CTA and socials below.

PRO

navbar64

Fullscreen Overlay Navbar

A quiet top bar whose menu button opens a full-screen overlay — oversized numbered links with hover arrows, a contact block and social row beneath. Pure Auralis big type.

PRO

navbar40

Breadcrumb Navbar

Two-row navbar with main navigation and secondary breadcrumb bar for hierarchical content paths. Perfect for e-commerce product pages and documentation with deep category structures.

PRO

navbar54

Multi Mega Menu Navbar

Navbar where multiple items each open their own mega panel — three eyebrow-titled columns of described links with a view-all footer strip.

PRO

navbar38

Dual-Row Navbar

Two-tier navbar with slim top bar for announcements and contact info above main navigation. Perfect for e-commerce and service businesses displaying promotions and support details.

PRO

navbar45

Fullscreen Overlay Navbar

Dark navbar with a hamburger menu cell that opens a fullscreen overlay — the panel and its centered links cascade down from the top, with a contact footer.