Navbar with hover-activated dropdowns supporting nested sub-menus for deep navigation hierarchies. Perfect for enterprise software and documentation sites with complex information architecture.
Navbar for enterprise software and documentation sites with deep information architecture: desktop nav items open hover-activated dropdowns, and any dropdown entry can itself carry a nested flyout sub-menu.
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.
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
npx shadcn add "https://ui.beste.co/r/navbar33?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/navbar33?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar33.tsx and the shadcn/ui dependency it needs (button).
The installed file exports navbar33Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar33, navbar33Demo } from "@/components/beste/block/navbar33";
export default function Layout() {
return <Navbar33 {...navbar33Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar33 } from "@/components/beste/block/navbar33";
export default function Layout() {
return (
<Navbar33
logo={{ text: "TechCorp", href: "/" }}
navItems={[
{
label: "Products",
dropdownItems: [
{
label: "Software",
subItems: [
{ label: "CRM Platform", href: "/crm" },
{ label: "Analytics Suite", href: "/analytics" },
],
},
{ label: "Cloud Services", href: "/cloud" },
],
},
{ label: "Pricing", href: "/pricing" },
]}
buttons={[
{ label: "Sign in", variant: "ghost", href: "/login" },
{ label: "Get demo", href: "/demo" },
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
logo | { text: string; href?: string } | – | Brand text and link; falls back to "Brand" / # when omitted |
navItems | NavItem[] | [] | Top-level nav entries, plain links or dropdown triggers |
buttons | Array<{ label: string; href?: string; variant?: "default" | "outline" | "ghost" }> | [] | Call-to-action buttons after the nav links |
className | string | – | Extra classes for the outer <nav> |
type NavItem = { label: string; href?: string; dropdownItems?: DropdownItem[] };
type DropdownItem = { label: string; href?: string; subItems?: SubMenuItem[] };
type SubMenuItem = { label: string; href?: string };onMouseEnter/onMouseLeave on the wrapping <div>), not click; the nested flyout is positioned to the right of its parent row (left-full).Set of expanded keys (item.label for the top level, `${item.label}-${dropdownItem.label}` for the nested level), so multiple branches can stay open at once.max-h-[calc(100vh-4rem)] overflow-y-auto) so long, deeply nested menus stay usable on short viewports.lg (1024px).sticky top-0 z-50) with a solid bg-background and a bottom border, no blur.navbar46
Studio navbar with hover dropdown submenus on desktop, described sublinks, a seal CTA and an inline-expanded mobile menu.
navbar32
Navbar with prominent search input, navigation links, and action button for search-driven experiences. Perfect for marketplaces, directories, and content platforms prioritizing discovery.
navbar19
Full-width mega menu navbar with multi-column product dropdowns, icon-enhanced links, and promotional cards. Perfect for SaaS products and enterprise sites with extensive feature offerings.
navbar40
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.
navbar36
Navbar with tab-style navigation supporting underline or pill active states for app-like navigation. Perfect for dashboards and admin panels with section-based interfaces.
navbar54
Navbar where multiple items each open their own mega panel — three eyebrow-titled columns of described links with a view-all footer strip.