Navbar 8 - Search command trigger with ⌘K hintPro

A documentation-style header with a wide search field trigger showing a ⌘K shortcut that opens a command dialog with live filtered results. Use it for docs, knowledge bases and developer tools where search is the primary way to navigate.

About Navbar 8

A documentation-style header with a wide search field trigger showing a ⌘K shortcut that opens a command dialog with live filtered results. Use it for docs, knowledge bases and developer tools where search is the primary way to navigate.

Navbar 8 is a pro navbar block for React, built on shadcn/ui and Tailwind CSS. It ships as 142 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • search
  • command
  • kbd
  • shortcut
  • docs
  • dialog

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/navbar-08

Dependencies installed automatically: lucide-react.

Uses: button, dialog, kbd, utils.

Usage

import Navbar08 from "@/components/blocks/navbar-08"

export default function Page() {
  return <Navbar08 />
}

FAQ