Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Open-source browser AI components for private, offline applications
LocalMode UI is an open-source, shadcn-style registry of copy-owned, composable AI UI components for the browser. It includes 100+ React components and 36 installable blocks that run real models on-device. The project is local-first and privacy-first: inference runs entirely in the browser, data never leaves the device, and no server or API key is required. It is MIT-licensed and free to use.
@localmode namespace in your components.json file.npx shadcn@latest add @localmode/ui/conversation/message.LocalMode UI is free and open source (MIT license). There are no paid plans or tiers.
Does LocalMode UI work offline? Yes. After the initial model download, inference runs entirely in the browser with no network requests, and data never leaves your device. The site is also an installable PWA, so its shell works offline.
Do I need an API key or a server? No. Blocks run real models on-device via WebGPU or WebAssembly. There is no server and no API key, and installation is client-only.
How do I install a component?
Configure the @localmode namespace in your components.json, then run npx shadcn@latest add @localmode/ui/<name>. Components are copy-owned and inherit your shadcn/ui theme.
Which browsers are supported? WebGPU-capable browsers (Chrome and Edge 113+, Safari 26+) get GPU-accelerated inference; other modern browsers fall back to WebAssembly.
Is it free and open source? Yes. LocalMode UI is MIT-licensed and free to use.