Message field
ProA rounded field for writing something to send (a comment, a reply, a chat message) that grows from a pill into a box, with a send button, tools that open into their own row on focus, a reply banner, attachments and suggestions while typing (people after @, tags after #, emoji after :); plus its trigger. Not an M3 component (@windmorph/react-pro).
import { MessageField, MessageFieldFrame, MessageFieldTrigger, MessageFieldSend, useMessageField, useMessageFieldInput, useCoarsePointer } from '@windmorph/react-pro';Part of Windmorph Pro, paid components on the free core, not on sale yet. See the Pro guide for what it includes and to register interest.
Playground
Code
Props
Appearance
variant
size
docked
toolbar Placement
send Variant
counter
min Rows
max Rows
Content
label
placeholder
supporting Text
value
toolbar
mentions
tags
leading
trailing
tools
banner
close Icon
attachments
send
send Icon
empty Action
error Message
Behaviour
tools When Idle
sendable
pending
max Length
counter Threshold
invalid
submit On
required
disabled
read Only
clear On Submit
expand On Focus
default Open
auto Focus