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

    150
  • Stats cards with links

    Stats cards with links

    125
  • 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

    23
  • Message Thread

    Message Thread

    49
  • Memory Scope

    Memory Scope

    3
  • Color Picker

    Color Picker

    118
  • AI Task List

    AI Task List

    169
  • Environment Variables

    Environment Variables

    16