[LocalMode] A local-first capability badge. Detects WebGPU / WASM / IndexedDB support via a bundled useCapabilities() hook (copy-owned, reads navigator β no @localmode dependency) and renders a themed status pill. Use it to gate model-download UIs behind device support.
pnpm dlx shadcn@latest add "https://registry.directory/r/localmode-ai/ui/local-first/device-badge.json"