Indexed Document Card
- from @localmode
- by LocalMode
A card for a single locally-indexed document: truncated filename (native tooltip), chunk count, optional page count and file size, and a hover/focus-revealed delete with loading state. Presentational — page/chunk counts come from the app's ingest state (e.g. useSemanticChunk output length), not a single hook.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @localmode/ui/data-documents/indexed-document-cardLive preview
No live preview has been built for this component yet.
Registry dependencies1
- @localmode/ui/lib/utils
