L
LocalMode

Network Badge · LocalMode

A reactive online/offline indicator (NetworkBadge) sourced from useNetworkStatus, plus an OfflineReady badge that signals the app's required model is cached on-device and can run with no network. Because local models keep working offline, offline is informational, not an error.

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

ui/local-first/network-badge