About
A hero-style AI prompt input box that lets users drag-and-drop or attach files, tweak generation settings from a dropdown, and submit a prompt to build software.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds AI Chat with File Attachments to your project and fits it to your theme.
Code
How AI Chat with File Attachments is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Ai04 from "@/components/ui/ai-04";
export default function Ai04Demo() {
return (
<div className="flex w-full items-center justify-center p-8">
<Ai04 onSubmit={(prompt) => console.log(prompt)} />
</div>
);
}
















