A travel bar with the brand, a Destinations trigger that drops a full-width band of region columns, plain links, and a language button showing the current code and currency that opens a floating list of languages with native names and currencies. On a phone a right drawer holds the links and regions with the language rows pinned to its bottom. Every panel stays in the markup and is toggled with CSS.
A travel bar with the brand, a Destinations trigger and plain links on the left, and a language button on the right that shows the current language code and currency. Destinations drops a full-width band of region columns; the language button opens a list of languages with their native names and currencies. On a phone a right drawer carries everything, with the language rows pinned to its bottom.
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/navbar107?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://beste.dev/r-base/navbar107?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar107.tsx plus the shadcn button primitive it uses.
The installed file exports navbar107Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar107, navbar107Demo } from "@/components/beste/block/navbar107";
export default function Page() {
return <Navbar107 {...navbar107Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar107 } from "@/components/beste/block/navbar107";
export default function Page() {
return (
<Navbar107
brand="Meridian"
destinations={{
label: "Destinations",
regions: [
{
title: "Europe",
links: [
{ label: "Portugal", href: "/destinations/portugal" },
{ label: "Greece", href: "/destinations/greece" },
],
},
{
title: "Asia",
links: [
{ label: "Japan", href: "/destinations/japan" },
{ label: "Vietnam", href: "/destinations/vietnam" },
],
},
],
}}
links={[
{ label: "Journeys", href: "/journeys" },
{ label: "Stays", href: "/stays" },
]}
languages={[
{ code: "EN", name: "English", nativeName: "English", currency: "USD", current: true },
{ code: "DE", name: "German", nativeName: "Deutsch", currency: "EUR" },
]}
button={{ label: "Plan a trip", href: "/plan" }}
labels={{ menu: "Open menu", close: "Close menu", language: "Change language", languages: "Language and currency" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
brand | string | – | Wordmark on the left |
destinations | { label: string; regions: Region[] } | – | The mega trigger and its region columns |
links | NavItem[] | [] | Plain links after the Destinations trigger |
languages | Language[] | [] | Rows in the language list; the one with current: true is selected first |
button | ActionButton | – | Action on the right; moves to the drawer footer on a phone |
labels | { menu?: string; close?: string; language?: string; languages?: string } | {} | Mobile toggle names, the screen reader name of the language button and the list heading |
className | string | – | Extra classes for the outer <header> |
type Region = {
title: string;
links: NavItem[];
};
type NavItem = {
label: string;
href: string;
};
type Language = {
code: string;
name: string;
nativeName: string;
currency: string;
current?: boolean;
};
type ActionButton = {
label: string;
href: string;
variant?: "default" | "outline" | "ghost" | "secondary";
};lang attribute so its native name is read correctly. Wire the selection to your router or i18n setup.translate-x-full, locks body scroll while open, scrolls its links and regions on their own, and keeps the language rows and the button in a footer capped at 45vh.