Comment Composer
The add/reply input for review-tool comment threads. A reused Textarea plus Submit/Cancel Buttons and an @-mention affordance. Submits on the Submit button or ⌘/Ctrl+Enter; Esc cancels when a cancel handler is wired. Presentational only — the value is a plain string, so the real editor/mention engine lives in the consuming app.
Top-level composer
No cancel affordance (nothing to cancel back to). Submit clears the field; try the keyboard shortcut.
Reply affordance (autoFocus + cancel)
Opens on demand, focuses immediately, and Esc or Cancel closes it.
Character limit
A maxLength renders a live counter, flips the field to its invalid state, and blocks submit over the cap.
Controlled
The parent owns the text via value + onValueChange.