About
Prose text with inline numbered citation chips that link to sources, reveal the reference name on hover, and list all references in a footer.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Inline Citations to your project and fits it to your theme.
Code
How Inline Citations is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { InlineCitations } from "@/components/ui/inline-citations";
export default function Default() {
return (
<div className="flex min-h-[320px] w-full items-center justify-center p-8">
<div className="w-full max-w-md">
<InlineCitations />
</div>
</div>
);
}








