KokonutUI Logo

AI-12AINew, November 10, 2026

AI Attachment

A file dropped into the chat uploads, then the assistant reads it page by page. Page citations in the answer light up the page they point at.

Install with
lucide-react, motion

PROSlash Command Menu and more like it are in Kokonut UI Pro

Installation

AI Attachment is a free, open-source React component in the Kokonut UI AI collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/ai-attachment.tsx, so the code is yours to change.

npx shadcn@latest add @kokonutui/ai-attachment

Usage

import AIAttachment from "@/components/kokonutui/ai-attachment";

export default function Example() {
  return <AIAttachment />;
}

Dependencies

Built with React, Tailwind CSS, lucide-react and motion.

On this page

No Headings