Dev Design Library

Chat Block

The flagship on-device chat: a 76-model multi-provider selector (transformers, WebLLM, wllama GGUF, LiteRT) with capability gating, vision attachments, DeepSeek-R1 reasoning display, semantic response caching, agent mode with tools, custom.

Chat Block preview
Library
LocalMode
Framework
React
Type
block
License
MIT
Dependencies
@localmode/core, @localmode/litert, @localmode/react, @localmode/transformers, @localmode/webllm, @localmode/wllama, lucide-react
Install
npx shadcn add @localmode/ui/ui/blocks/chat
Files
  • apps/ui/src/app/blocks/chat/chat.tsx
  • packages/react/src/index.ts
  • packages/core/src/index.ts
  • packages/transformers/src/index.ts
  • packages/webllm/src/index.ts
  • packages/wllama/src/index.ts
  • packages/litert/src/index.ts
  • apps/ui/registry/localmode/conversation/conversation/conversation.tsx
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode