AI Prompt Composer
ProInstallation
ProRequires a Planes Pro license.
npx shadcn add @useplanes/ai-prompt-composer
Works once the @useplanes registry is set up in your project (one-time). After that, copy and run commands directly.
Unlock with Planes Pro
$99 once · 161 Pro components · lifetime updates.
import { AIPromptComposer } from "@/components/ui/AIPromptComposer";
<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.