L
LocalMode

Model Selector · LocalMode

A device-aware model picker: a list grouped by category, backend filter chips (WebGPU/ONNX/WASM/LiteRT) with live counts, per-model vision/tool-calling/cached badges, a download affordance for uncached models, and a delete-from-cache affordance for cached ones. Device-unfit models (e.g. a WebGPU-only model on a non-WebGPU device) are de-emphasized and labeled. Emits onSelect(modelId) and owns no selection state. Bind models to useModelRecommendations and hasWebGPU to useCapabilities.

npx shadcn@latest add https://localmode.ai/r/ui/local-first/model-selector.json
Preview Model Selector on LocalMode's site (opens in a new tab)
Loading the source for ui/local-first/model-selector…

ui/local-first/model-selector