Prompt Input
- from @localmode
- by LocalMode
Form-based, auto-resizing chat composer: Enter submits, Shift+Enter inserts a newline, the submit control swaps to a stop control while streaming, with optional controlled value/onValueChange, a PromptInputProvider, a voice/dictation mic toggle (wire to local Whisper), and a slash-command / + picker.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @localmode/ui/conversation/prompt-inputLive preview
No live preview has been built for this component yet.
Registry dependencies3
- @localmode/ui/lib/utils
- @localmode/ui/input-controls/char-limit-indicator
- button
