Kevin

AI Agent Input

AI chats 31

About

A chat-style AI prompt input with attachments, a model picker, slash-command skill pills, and a one-click "enhance prompt" rewrite state.

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

Code

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

Usage.tsx

import PromptInput from "@/components/ui/ai-agent-input";

export default function Default() {
  return (
    <div className="flex min-h-[420px] w-full items-center justify-center p-8">
      <PromptInput />
    </div>
  );
}

Dependencies

More by Kevin

View all
  • Image Generation

    Image Generation

    249
  • Thinking Reasoning

    Thinking Reasoning

    84
  • Agent To-do List

    Agent To-do List

    51
  • Orbs Morph

    Orbs Morph

    35
  • Orbs Helix

    Orbs Helix

    34
  • Web Search

    Web Search

    32
  • File Diff

    File Diff

    22
  • Orbs Lens

    Orbs Lens

    18

More in AI chats

View all
  • AI Actions

    AI Actions

    317
  • Agent Chat

    Agent Chat

    17
  • Prompt with Model Picker

    Prompt with Model Picker

    2
  • Color Picker

    Color Picker

    73
  • Approval Card

    Approval Card

    12
  • System Message

    System Message

    53
  • Message

    Message

    48
  • Quota Banner

    Quota Banner

    20

Explore more

Part of AIcss — browse the full library on 21st.dev.