Loading...
A flexible prompt input component with file attachments, model selection, and tools.
Ready to send your message
Auto-resize
Grows from 24px to 200px
Keyboard shortcuts
Enter to send, Shift+Enter for line break
File attachments
With preview and size display
File validation
Max 5 files, 10MB each
Drag & drop
Drop files anywhere on page
Voice input
Web Speech API integration
Status states
Idle, submitted, streaming, error
Model selection
Dropdown with custom options