Dev Design Library

Inline Citation

A hoverable citation component that displays source information and quotes inline with text, perfect for AI-generated content with references.

Inline Citation preview
Library
AI Elements
Framework
React
Type
component
License
Apache-2.0
Install
npx ai-elements@latest add inline-citation
Files
  • packages/elements/src/inline-citation.tsx
  • packages/shadcn-ui/components/ui/badge.tsx
  • packages/shadcn-ui/components/ui/carousel.tsx
  • packages/shadcn-ui/components/ui/hover-card.tsx
  • packages/shadcn-ui/lib/utils.ts
  • packages/shadcn-ui/components/ui/button.tsx
Source
https://github.com/vercel/ai-elements

Categories

More from AI Elements