About
Agent-first AI code editor: streaming diff edits with accept/reject, Tab autocomplete, ⌘K inline edits, terminal, palette, git.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds AI Code Editor to your project and fits it to your theme.
Code
How AI Code Editor is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { AICodeEditor } from "@/components/ui/ai-code-editor";
export default function Demo() {
return (
<div className="flex min-h-screen w-full items-center justify-center p-2 sm:p-6">
<AICodeEditor className="h-[760px] max-w-[1360px] shadow-2xl" />
</div>
);
}








