Docs Site Search
Documentation search page with a command palette over a local index of guides and api endpoints.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this page
What it's for
- Documentation search page with a command palette over a local index of guides and api endpoints.
- Docs search with grouped results, prefix filters and keyboard navigation.
Includes
- Command palette
- Local search index
- Grouped results
- Prefix filters
- Popular searches
- Query from url
- Keyboard navigation
- Empty state
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19 and Tailwind CSS 4 in Next.js (App Router), Vite, React Router or TanStack Start, installed with the agentic-ui or shadcn CLI
- Your theme tokens, in light and dark mode
- 1 template or blueprint on this site use it (below)
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
agentic-ui add docs-site-searchnpx shadcn@4.17.0 add @agentic-ui/docs-site-searchUsed in
- Type
- Page
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- npm packages
lucide-react- Registry dependencies
lib-primitivessearch-global-palette- Files
26 files
- components/agentic-ui/docs-site-search/screens/search.tsx
- components/agentic-ui/docs-site-search/components/search-view.tsx
- components/agentic-ui/docs-site-search/components/docs-search.tsx
- components/agentic-ui/docs-site-search/components/docs-context.tsx
- components/agentic-ui/docs-site-search/components/use-stored-version.ts
- components/agentic-ui/docs-site-search/lib/versions.ts
- components/agentic-ui/docs-site-search/lib/types.ts
- components/agentic-ui/docs-site-search/content/versions.ts
- components/agentic-ui/docs-site-search/lib/search-index.tsx
- components/agentic-ui/docs-site-search/lib/nav.ts
- components/agentic-ui/docs-site-search/content/docs.ts
- components/agentic-ui/docs-site-search/content/docs-sdks-live.ts
- components/agentic-ui/docs-site-search/lib/doc-nodes.ts
- components/agentic-ui/docs-site-search/lib/slug.ts
- components/agentic-ui/docs-site-search/content/docs-guides-sending.ts
- components/agentic-ui/docs-site-search/content/docs-guides-operations.ts
- components/agentic-ui/docs-site-search/content/docs-getting-started.ts
- components/agentic-ui/docs-site-search/lib/doc-text.ts
- components/agentic-ui/docs-site-search/lib/inline.ts
- components/agentic-ui/docs-site-search/lib/api-model.ts
- components/agentic-ui/docs-site-search/content/changelog.ts
- components/agentic-ui/docs-site-search/content/api.ts
- components/agentic-ui/docs-site-search/content/api-resources.ts
- components/agentic-ui/docs-site-search/content/api-messages.ts
- components/agentic-ui/docs-site-search/content/api-params.ts
- components/agentic-ui/docs-site-search/content/api-config.ts
Related components
Docs Site API Endpoint
Api endpoint reference page with parameters table, request and response code samples in several languages and a try it panel.
Details and live previewDocs Site API Index
Api reference index page with endpoints grouped by resource and a filter by method.
Details and live previewDocs Site Article
Documentation article page with sidebar navigation and a sticky on this page table of contents.
Details and live previewDocs Site Changelog
Api changelog page with new, improved and fixed entries and links to the reference.
Details and live preview