Ai

AI Sources

A component that allows a user to view the sources or citations used to generate a response.

Powered by

Installation

shadcn
npx shadcn@latest add https://www.shadcn.io/registry/ai.json

Features

  • Collapsible component that allows a user to view the sources or citations used to generate a response
  • Customizable trigger and content components
  • Support for custom sources or citations
  • Responsive design with mobile-friendly controls
  • Clean, modern styling with customizable themes

Examples

Custom rendering