Dev Design Library

Inline Citation

Inline superscript citation markers in prose that open a hovercard with the cited local chunk (title, excerpt, quoted snippet), with a carousel paging multiple sources for one claim. References locally-stored chunks only — no remote unfurl.

Inline Citation preview
Library
LocalMode
Framework
React
Type
component
License
MIT
Dependencies
lucide-react
Install
npx shadcn add @localmode/ui/ui/conversation/inline-citation
Files
  • apps/ui/registry/localmode/conversation/inline-citation/inline-citation.tsx
  • apps/ui/registry/localmode/lib/utils.ts
  • apps/ui/registry/localmode/ui/hover-card.tsx
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode