The MessageInput component provides a user-friendly input interface for chat applications. It features auto-resizing textarea, Enter to send functionality, and dynamic send/stop button states based on chat status.Documentation Index
Fetch the complete documentation index at: https://osmium.intface.io/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Install the MessageInput component using the shadcn CLI:Usage
Props
The current chat status. Controls the input state and button appearance (send vs stop).
Callback function called when the user sends a message. Receives the trimmed message content.
Callback function called when the user wants to stop AI response generation.
Additional CSS classes to apply to the input container.

