Chat Input

inputs

Message input bar with send button, emoji picker, and attachment support.

Preview

No preview available

Check the code examples below.

Installation

npm install @launchapp/design-system
Import
import { ChatInput } from "@launchapp/design-system";

Examples

Basic chat input

<ChatInput  placeholder="Message #general"  onSend={(msg) => console.log("sent:", msg)}/>

Props

PropTypeDefaultDescription
onSend
(message: string) => voidCalled when the message is sent.
placeholder
string"Type a message..."Input placeholder text.
disabled
booleanfalseDisables the input and send button.