Skip to content
Browse docs and components

Prompt Input

ai-prompt-inputPro

The composer for an agent: a field that grows, files by button, paste or drop with removable previews, a / menu of commands with full keyboard support, tool toggles sent with the message, and send that turns into stop.

Pro · LiveResponsiveOpen full screen

Install

$npxformelogin
$npxformeaddai-prompt-input

Pro items are served from an authenticated registry, so the CLI checks your licence before it writes anything.

Get Forme Pro

What is in the box

  • The complete block, as readable source
  • Every file it depends on, with relative imports
  • Its npm dependencies, listed on the registry
  • Responsive layout down to a phone width
  • Accessible primitives where behaviour is hard
  • No runtime dependency, before or after install

Often searched for as ai elements, prompt input, composer, slash commands, attachments.