Dev Design Library

Semantic Cache Status Bar

A compact toolbar row for useSemanticCache complementing CacheBadge: entry count, hit-rate percentage, an icon-only clear-cache button (when entries > 0), and an enable/disable toggle (with a spinner while the embedding model loads). Pairs.

Semantic Cache Status Bar preview
Library
LocalMode
Framework
React
Type
component
License
MIT
Dependencies
lucide-react
Install
npx shadcn add @localmode/ui/ui/local-first/semantic-cache-status-bar
Files
  • apps/ui/registry/localmode/local-first/semantic-cache-status-bar/semantic-cache-status-bar.tsx
  • apps/ui/registry/localmode/lib/utils.ts
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode