Quick Search / command palette (two-lane FTS)
Generated from
pattern-library/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 · Maturity: proven (verified 2026-08-20 @ 1a130d67) · 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)/api/search(app route, no showcase) — GET
Machine-readable record: app-shell-quick-search in pattern-library/registry.json.