A bar with brand, links and two buttons where Why us opens a full-width panel split in half: a headline, a paragraph and two buttons on the left, two columns of described links on the right. On a phone a panel slides down with the action buttons side by side at its top, then the links and the pitch. Every panel stays in the markup and is toggled with CSS.
A bar with the brand, links and two buttons, where the Why us trigger opens a full-width panel split in half. The left half makes the pitch with a headline, a paragraph and two buttons; the right half lists two columns of described links. On a phone a panel slides down with the action buttons side by side at its top.
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.
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://beste.dev/r/navbar110?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://beste.dev/r-base/navbar110?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar110.tsx plus the shadcn button primitive it uses.
The installed file exports navbar110Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar110, navbar110Demo } from "@/components/beste/block/navbar110";
export default function Page() {
return <Navbar110 {...navbar110Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar110 } from "@/components/beste/block/navbar110";
export default function Page() {
return (
<Navbar110
brand="Alder"
mega={{
label: "Why us",
heading: "Close the books in days, with a ledger your auditors already trust.",
description: "Alder reconciles every account overnight and keeps a clean trail behind each number.",
buttons: [
{ label: "Read the story", href: "/story" },
{ label: "Talk to sales", href: "/sales", variant: "outline" },
],
columns: [
{
title: "Reasons",
links: [
{ title: "Security", description: "SOC 2 Type II, SSO and audit logs", href: "/security" },
{ title: "Integrations", description: "Banks, ERPs and payroll in one place", href: "/integrations" },
],
},
{
title: "Proof",
links: [
{ title: "Customer stories", href: "/customers" },
{ title: "Reviews", href: "/reviews" },
],
},
],
}}
links={[
{ label: "Product", href: "/product" },
{ label: "Pricing", href: "/pricing" },
]}
buttons={[
{ label: "Log in", href: "/login", variant: "ghost" },
{ label: "Book a demo", href: "/demo" },
]}
labels={{ menu: "Open menu", close: "Close menu" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
brand | string | – | Wordmark on the left |
mega | HeadlineMega | – | The trigger label and everything inside the split panel |
links | NavItem[] | [] | Plain links after the trigger |
buttons | ActionButton[] | [] | Actions on the right of the bar; side by side at the top of the mobile panel |
labels | { menu?: string; close?: string } | {} | Accessible names for the mobile toggle |
className | string | – | Extra classes for the outer <header> |
type HeadlineMega = {
label: string;
heading: string;
description: string;
buttons: ActionButton[];
columns: PanelColumn[];
};
type PanelColumn = {
title: string;
links: PanelLink[];
};
type PanelLink = {
title: string;
description?: string;
href: string;
};
type NavItem = {
label: string;
href: string;
};
type ActionButton = {
label: string;
href: string;
variant?: "default" | "outline" | "ghost" | "secondary";
};motion-safe slide.grid-template-rows from 0fr to 1fr, is capped at calc(100vh - 4rem) with its own scroll, and shows a ghost bar button as outline so both inline buttons read as buttons.