Search-forward navbar — a wide rounded search field sits at the center with an animated submit seal, framed by the wordmark, quiet links and a pill CTA.
Search-forward navbar with a wide pill-shaped search field centered between the wordmark and the nav/CTA cluster. The field's submit control is a circular icon button whose arrow animates: on focus, the resting arrow slides out to the right while a second, off-screen arrow slides in from the left to take its place, giving the submit affordance a continuous directional swap instead of a static icon.
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/navbar68?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/navbar68?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/navbar68.tsx, the button12 component it uses for the CTA pill, and its dependencies.
The installed file exports navbar68Demo alongside the block: the exact props behind the preview above. Spread it to get a working navbar in one line.
import { Navbar68, navbar68Demo } from "@/components/beste/block/navbar68";
export default function Layout() {
return <Navbar68 {...navbar68Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Navbar68 } from "@/components/beste/block/navbar68";
export default function Layout() {
return (
<Navbar68
brand="Auralis"
links={[
{ label: "Work", href: "/work" },
{ label: "Journal", href: "/journal" },
]}
button={{ label: "Tell us more", href: "/contact" }}
labels={{ searchPlaceholder: "Search projects, journal, people…" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
brand | string | – | Wordmark text, linked home |
links | NavLink[] | [] | Nav links shown at lg and up, next to the CTA |
button | { label: string; href: string } | – | Pill CTA rendered with button12 |
labels | { searchPlaceholder: string } | – | Text passed as the search input's placeholder |
className | string | – | Extra classes for the outer <header> |
NavLink: { label, href }. labels.searchPlaceholder is optional to set (the input renders with no placeholder if labels is omitted).
md upward, and again inside the mobile menu (visible only below md, via md:hidden) — there is a small overlap window between md and lg where both the header search and the nav links are hidden/shown independently.group-focus-within/search68:translate-x-[160%] moves the visible arrow out while the hidden absolute-positioned arrow (-translate-x-[160%] at rest) translates to translate-x-0, both on a 300ms ease-out transition triggered by focusing the input.onChange/onSubmit wiring in the block; it is a presentational field meant to be connected to real search logic by the consumer.lg and up; the mobile menu (conditionally rendered while open) stacks the search field (on screens below md), then the links, then the full-width CTA button.Wiring the form up
This block ships the form markup only; state, validation, and submit are yours to add. Our guide wires the shadcn Field primitives to React Hook Form, TanStack Form, and Formisch on one field system.
navbar32
Navbar with prominent search input, navigation links, and action button for search-driven experiences. Perfect for marketplaces, directories, and content platforms prioritizing discovery.
navbar44
Symmetric navbar with links on the left, a square-mark wordmark centered and a seal CTA on the right, plus a tile-grid mobile menu.
navbar39
Developer-focused navbar with Cmd+K command palette for keyboard-driven navigation and actions. Perfect for developer tools, documentation sites, and power-user applications.
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.
navbar52
Letterhead-style navbar with a stacked brand block beside stacked rows of location, email and links, closed off by a seal CTA on the right.
navbar56
Typographic statement navbar — a hairline row of index-numbered links and availability above a giant wordmark with a primary square, studio meta and seal CTA.