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

    147
  • Stats cards with links

    Stats cards with links

    122
  • Form Layout

    Form Layout

    96
  • File Upload

    File Upload

    85
  • login

    login

    79
  • Share Dialog

    Share Dialog

    51
  • Login & Signup

    Login & Signup

    50
  • Form

    Form

    46

More in AI chats

View all
  • AI Actions

    AI Actions

    319
  • Color Picker

    Color Picker

    82
  • Agent Chat

    Agent Chat

    17
  • Prompt with Model Picker

    Prompt with Model Picker

    2
  • System Message

    System Message

    54
  • Message Thread

    Message Thread

    36
  • Suggestions

    Suggestions

    28
  • Message With Header And Delivery Status

    Message With Header And Delivery Status

    38