Mohammad Shehadeh

Prompt Input

AI chats 9

About

Chat composer with an auto-growing textarea, Enter to send, attachments, a model picker, and a Stop button while streaming. Ships composable parts.

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

Code

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

Usage.tsx

import PromptInput from "@/components/ui/prompt-input";

export default function PromptInputDemo() {
  return <PromptInput />;
}

Dependencies