Back to components
ComponentAI & ChatFree

Knowledge Source Map React component

An interactive context map linking documents, web pages and databases to an answer, with source search, selection and excerpts.

About the Knowledge Source Map component

An interactive context map linking documents, web pages and databases to an answer, with source search, selection and excerpts.

When to use it

Explain the application-provided sources behind an answer.

Let users inspect individual source excerpts without leaving the conversation.

Installation

Add the Knowledge Source Map component to your project with the shadcn CLI. It lands in components/knowledge-source-map.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/knowledge-source-map

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion lucide-react clsx tailwind-merge

Related components

Next Best Action Card
Free
Saved Facts Drawer
Free
Hover Reply Toolbar
Free
AI Mail Composer
Free
Hanging Price Tags
Free
Pricing Spotlight Carousel
Free