A compact app bar with the brand and an environment pill, page links, a status dot with a short system status line and an initials avatar that opens a hand-built account dropdown (profile, billing, team, sign out) with arrow key navigation. On a phone the avatar raises a bottom sheet holding the account, the status and the page links. Both panels stay in the markup and are toggled with CSS.
A compact app bar for a signed-in product: the brand with an environment pill, page links, a status dot with a short system status line, and an initials avatar. The avatar opens an account dropdown with profile, billing, team and sign out. On a phone the same avatar raises a bottom sheet that holds the account, the status and the page links.
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/navbar109?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://beste.dev/r-base/navbar109?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar109.tsx; it needs no shadcn primitives.
The installed file exports navbar109Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar109, navbar109Demo } from "@/components/beste/block/navbar109";
export default function Page() {
return <Navbar109 {...navbar109Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar109 } from "@/components/beste/block/navbar109";
export default function Page() {
return (
<Navbar109
brand="Harbor"
environment="Production"
links={[
{ label: "Overview", href: "/overview" },
{ label: "Deployments", href: "/deployments" },
{ label: "Logs", href: "/logs" },
]}
status={{ label: "All systems normal", href: "/status" }}
account={{
name: "Nina Simone",
email: "[email protected]",
initials: "NS",
items: [
{ label: "Profile", href: "/account", icon: "profile" },
{ label: "Billing", href: "/billing", icon: "billing" },
],
signOut: { label: "Sign out", href: "/sign-out" },
}}
labels={{ account: "Account menu", close: "Close", navigation: "Navigate" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
brand | string | – | Wordmark on the left |
environment | string | – | Text in the pill beside the brand |
links | NavItem[] | [] | Page links in the bar; a two-column grid in the mobile sheet |
status | { label: string; href: string } | – | Status line with a dot, shown from lg up and in the mobile sheet |
account | Account | – | The avatar initials, the dropdown header and its links |
labels | { account?: string; close?: string; navigation?: string } | {} | Accessible name of the avatar button, the sheet close button and the sheet links heading |
className | string | – | Extra classes for the outer <header> |
type NavItem = {
label: string;
href: string;
};
type Account = {
name: string;
email: string;
initials: string;
items: AccountItem[];
signOut?: NavItem;
};
type AccountItem = {
label: string;
href: string;
icon?: "profile" | "billing" | "team" | "settings";
};pointerType check keeps a touch tap from opening and closing it in the same gesture. Below md the dropdown is hidden and the sheet takes over.bg-primary, so it follows the theme rather than a fixed green; swap the class if you want a semantic color.