Skip to content

ChatInput

const ChatInput: (props) => ReactElement

Defined in: react/components/controls/chat-input.tsx:70

A feature-rich chat composer: auto-grow, send-on-Enter, atomic chips, character-triggered completions, ghost-text autocomplete, history recall, and an in-border send/stop affordance. The widget owns its draft buffer, so it works with any state-management approach.

ChatInputProps

ReactElement