Quick Search / command palette (two-lane FTS)
Generated from
mcp/patterns.registry.json— do not edit by hand; change the registry and runbun run patterns:build.
Index card — the docs below are the canonical explanation; deep-tier pattern pages additionally carry invariants and emulation notes.
Category: App Shell & Navigation · Tier: light · Risk: low — structural pattern, no external services
A universal search combining an instant client-side lane with a debounced server-side full-text-search lane, surfaced via a Cmd+K command palette and a dedicated /search page.
When to use: Reach for it when adding a new searchable surface (page, doc, showcase) or extending the command palette's result grouping.
Docs
Code
src/lib/components/composites/command-palette/(GitHub · GitLab)src/lib/server/search/(GitHub · GitLab)
Proof
/search(app route, no showcase)GET /api/search(app route, no showcase)
Machine-readable record: app-shell-quick-search in mcp/patterns.registry.json.