PromptInput
Multiline AI prompt textarea with submit and keyboard shortcuts.
Installation
dotnet add package Lumeo
One-time app setup (AddLumeo(), CSS & JS) is covered in the
installation guide.
Usage
@using Lumeo <PromptInput />
When to Use
- Build chat interfaces, AI assistant prompts, or command inputs.
- Use Enter to submit and Shift+Enter for newlines — built in.
- Add leading or trailing content slots for model selectors, voice input, and file attachments.
0/200
Shift+Enter for newline
Keyboard Interactions
| Key | Action |
|---|---|
| Enter | Submits the prompt (fires OnSend). |
| Shift + Enter | Inserts a newline without submitting. |
API Reference
PromptInput
Related Components
- StreamingText — Token-by-token streaming text renderer for AI responses.
- Textarea — Plain multiline text input without the AI-chat chrome.