Skip to content
English
The AI feels clunky63 / 71

Prompt box

What it's calledPrompt boxprompt composerchat inputGlossary

What goes wrong

A one-line field shows a sliver of a long request, while the attach link, the mode picker and a separate Send button are scattered around it.

The fix

Make one surface that grows with the text and holds attach, mode and send along its bottom edge.

Tell your AI

Build the prompt box as one var(--ds-surface-2) surface with var(--ds-radius-xl) (24px) corners: a textarea at var(--ds-font-size-md) (14px) on var(--ds-line-height-md) (22px) that grows from two to five lines, then a bottom row inside it with an attach button, a mode chip and a round var(--ds-control-md) (36px) send button in var(--ds-accent) that stays disabled while the field is empty; install the LayQ component textarea (/registry/v1/controls-textarea.json) for the growing field, and send on Enter, new line on Shift+Enter.

  • --ds-surface-2
  • --ds-radius-xl24px
  • --ds-font-size-md14px
  • --ds-line-height-md22px
  • --ds-control-md36px
  • --ds-accent
Why AI-generated UIs all look the same: 12 rules that fix it

Assistant

Where are you headed, and who is coming along?

Mode: Trip plannerAttach a file