Skip to content

Search

Site search dialog — Pagefind-backed full-text search with keyboard shortcuts and zero-result hints.

Installation

Included in the starter. Every new site has it in src/components/ui/search/. Import it where you need it, or register it in src/components.ts to use it on every page. If your site predates it, install it:

npx @cloudflare/nimbus-docs add search

Preview

Click the trigger above or press ⌘ K to open the dialog.

<SearchTrigger />

<SearchDialog />

Type to search…

↑↓ navigate↵ selectEsc close