Chat Input

A chat input component with send button and keyboard shortcuts

Preview

Installation

Usage

API Reference

PropTypeDefaultDescription
valuestring-The current input value
onValueChange(text: string) => void-Callback when the input value changes
onSend(text: string) => void-Callback when send is triggered
placeholderstring'Write a message...'Placeholder text for the input
sendIconReact.ReactNode<Send />Custom icon for the send button
menuReact.ReactNode-Additional menu content rendered after the send button