Prompt input

agentFreeMIT

A chat input that grows with the text, takes files, and turns into a stop button while the agent writes. With `halo`, a band of primary light runs round the border while there is something to send. With `variant="glass"` it is a frosted panel for photos, and with `collapsed` it rests as a small pill until focused.

npx shadcn@latest add https://mikkelmanniche.dk/lab/r/prompt-input.json
Width

Preview

The preview could not load.

Live demo in the dark theme.

Details

Files

  • prompt-input.tsx