Skip to content
PreviewThe composer stays below the scrollable thread. Enter sends a sample message, and Shift+Enter adds a line.

Scout

Release review
Is the release ready?
The build passed. I’m checking the changelog next.

ComposerFrame

above
ReactNode
Above the field, the composer's top strip: attachments, a reply, or a chat's work line (AgentPlan frame="line"), which stands first. Left out, the region takes no room.
start
ReactNode
The controls at the start: attach, modes, a picker. In the compact form they stand before the field.
end
ReactNode
The controls at the end: send, stop. In the compact form they stand after the field.
status
ReactNode
A quiet line in the foot, above the controls (in the compact form, under the row): a limit or an error.
compact
boolean
A short message stands on one row: start, the field, end. The product sets it while the draft is one line; with above present the part draws the two rows whatever this says. It stays while the draft is one line and nothing stands above, leaves as soon as the text wraps or holds a newline, or a reply or an attachment is added, and comes back only when the field is emptied.
disabled
boolean
The composer takes no input: the frame marks itself disabled, and the field and the controls inside take their own disabled look.
busy
boolean
A send is in flight: said to a reader with aria-busy, and nothing in the frame moves.
invalid
boolean
The words are wrong: the frame draws an invalid field's danger edge and the status takes the danger ink.
aria-label
string
Names the composer for a reader, which makes it a group of that name. The field inside keeps its own label.
rootStyle
RootStyle
Typed StyleX override: layout.
children
ReactNode
The product's own field, flush in its seat: a Textarea in the ghost form at lg.

Rest props go to <div> props.

State machine

PreviewWrite a message to Scout.