← All proposals

Chat Input

A labelled textarea with a toolbar inside the same bordered box:

Net-new componentOpen in Storybook

proposals/ChatInput/context.md20 lines · View on GitHub

Chat Input

Problem

Chat and agent screens need a field for composing a prompt. PDS has Textarea, but no toolbar inside the field for add and attach, a model selector, voice and Send. This is a net-new pattern, built on the Textarea foundations.

Proposal

A labelled textarea with a toolbar inside the same bordered box:

  • Start: add and attach buttons (IconButton).
  • End: model selector (ModelSelector), voice button, and the SendButton (send, working, stop).
  • Label above and helper message below, as on every PDS input. Drag the bottom corner to resize.

The toolbar is two slots (actionsStart, actionsEnd), so the screen decides what goes in them.

Source

Erika's screenshot (~/Desktop/Screenshot 2026-10-12 at 4.56.42 PM.png): label, "Ask Zappy..." placeholder, toolbar inside the field, helper message. No Figma or Jira links.