AI
An AI chat composer with an auto-growing input, a model picker, and a send button that turns into a stop button while a response streams.
Installation
ProRequires a Planes Pro license.
npx shadcn add @useplanes/ai-prompt-composer
Unlock with Planes Pro
$99 once · 54 Pro components · lifetime updates.
<AIPromptComposer
placeholder="Ask anything..."
onSubmit={(text, model) => send(text, model)}
/>Use cases
Chat app composer
The main input for a chatbot or assistant, with model switching built in.
AI search bar
A prompt box that kicks off a generation or retrieval flow.
Agent command input
Send instructions to an agent and stop a run that is taking too long.
Support copilot
An embedded composer for an in-product AI helper.