Ephraim Duncan

AI Chat Compact Interface

AI chats

About

A compact chat input bar with an auto-growing textarea, attach/tools dropdown, auto-mode toggle, and model/agent/performance selector menus for building AI chat interfaces.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds AI Chat Compact Interface to your project and fits it to your theme.

Code

How AI Chat Compact Interface is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Ai03 from "@/components/ui/ai-03";

export default function Ai03Demo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-8">
      <Ai03 />
    </div>
  );
}

Dependencies

More by Ephraim Duncan

View all
  • Stats

    Stats

    148
  • Stats cards with links

    Stats cards with links

    124
  • Form Layout

    Form Layout

    97
  • File Upload

    File Upload

    86
  • login

    login

    82
  • Share Dialog

    Share Dialog

    52
  • Login & Signup

    Login & Signup

    50
  • Form

    Form

    49

More in AI chats

View all
  • AI Actions

    AI Actions

    326
  • Agent Chat

    Agent Chat

    18
  • Attachments

    Attachments

    22
  • Commit

    Commit

    23
  • Message Thread

    Message Thread

    45
  • System Message

    System Message

    58
  • Suggestions

    Suggestions

    30
  • AI Task List

    AI Task List

    167