Dev Design Library

Source Citation List

In-message attributed-sources list extending Sources: numbered items, a similarity score with a radial confidence ring, and clamped body text with staggered fade-in, behind a collapsible Show N sources toggle. Data source: useSemanticSearch.

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

Categories

More from LocalMode