LocalMode UI
Local-first React components and installable modules for browser-based AI
About LocalMode UI
LocalMode UI provides 100+ React components and 36 installable blocks for browser-based AI scenarios including Chat, Knowledge & RAG, Vision, Audio, Photo, and Agents. Blocks can run real models in the browser; after the initial model download, inference can run entirely in the browser and data never leaves the device. The project supports WebGPU or WebAssembly and can be installed as a PWA.
Best for
Best use cases
Run AI models in the browser
Build Chat and Knowledge & RAG interfaces
Build Vision, Audio, or Photo experiences
Install AI components in a shadcn/ui project
Features
Local browser inference
After the initial model download, inference runs in the browser and data never leaves the device.
Installable Blocks
Blocks can run real models in the browser and install through components.json and the npx shadcn command.
GPU and WebAssembly inference
Supports WebGPU acceleration; other modern browsers can fall back to WebAssembly.
PWA offline shell
The website can be installed as a PWA, and the app shell works offline.
Pros
- Run inference in the browser after the initial model download
- Copy-owned components inherit shadcn/ui themes
- Supports WebGPU with a WebAssembly fallback
- Can be used as a PWA
Cons
- WebGPU acceleration depends on browser capabilities; other modern browsers fall back to WebAssembly