In most AI products, one small component decides whether people get value or give up: the prompt box. It's where every interaction starts, and it's usually designed in an afternoon as "a text field with a send button".
That's a mistake. An empty box asks users to know what the AI can do, how to ask for it, and what information to include. Most people don't. Jakob Nielsen calls this the articulation barrier: many users find it hard to put what they want into words well enough for the AI to deliver.
Good prompt input design lowers that barrier. Here are the patterns I use, from placeholder text to keyboard behaviour to mobile.
The anatomy of a good prompt input
Before the details, here are the parts a well-designed AI input usually has. Not every product needs all of them.
| Part | What it does | Common mistake |
|---|---|---|
| Text area | Where the user writes | Fixed at one line, so long prompts are hard to review |
| Placeholder | Hints at what to type | "Ask anything", which helps nobody |
| Starter prompts | Show what's possible | Generic examples unrelated to the user's work |
| Attachments | Add files, images or links | Hidden limits that fail after upload |
| Context chips | Show what the AI can see | Missing, so users re-explain everything |
| Mode or model picker | Changes how the AI works | Technical model names nobody understands |
| Send and stop | Starts and interrupts a response | No stop, or a send that looks clickable when it isn't |
Beat the blank box
An empty input is the hardest moment in an AI product. Three patterns help most.
Write a specific placeholder
"Ask anything" is honest but useless. A placeholder should hint at the most valuable thing the AI can do here. In a finance tool, "Ask about your spending, e.g. what changed since last month?" tells users the scope and the style of question in one line.
Keep in mind that placeholder text disappears when the user starts typing, and it's not a substitute for a proper label.
Offer starter prompts that use the user's own data
Three or four suggestion chips under the input do more for adoption than almost anything else. The best ones are specific to what the user is doing right now: "Summarise this thread", "Draft a reply to Sam", "Find invoices over $5,000". Generic starters like "Write a poem" teach nothing about your product.
When a starter is tapped, put the text into the input so the user can edit it before sending. Sending immediately takes away control and teaches them nothing about how to phrase their own requests.
Use templates for repeat jobs
If users keep writing the same kind of request, give them a template with blanks to fill: "Write a [tone] email to [person] about [topic]". It's half form, half prompt, and it beats explaining prompt-writing in a help article.
Tip
Look at your logs for the first prompts new users send. The most common successful ones are your starter prompts. The most common failed ones show you what the placeholder needs to explain.
Make writing and reviewing easy
- Grow with the content. The text area should expand as the user types, up to a sensible height, and then scroll. A one-line field makes long prompts impossible to review.
- Keep drafts safe. If the user navigates away, refreshes or the request fails, their text should still be there. Losing a long prompt is one of the most frustrating things an AI product can do.
- Allow paste of anything. Long text, images and files pasted from the clipboard should all just work.
- Show limits before they bite. If there's a length limit, show a counter near the limit, not an error after sending.
Get the keyboard behaviour right
Keyboard details are invisible when they work and infuriating when they don't.
- Enter sends, Shift+Enter adds a new line is the convention most chat users expect on desktop. Follow it unless your product is mainly for long-form writing.
- Don't send during text composition. People typing in Japanese, Chinese, Korean and other languages use an input method where Enter confirms a character, not the message. If Enter sends mid-composition, your product is broken for them. Engineers can check the composition state before sending.
- Up arrow to edit the last message is a nice touch for power users, when the input is empty.
- Escape to stop a response in progress is worth supporting too.
Watch out
On mobile, the Enter key should usually add a new line, with sending done by the visible button. Accidental sends on a phone keyboard are common and annoying.
Attachments and context
Often the most important part of a prompt isn't the text, it's what the AI is looking at. Design that part as carefully as the text.
- Show attached items as chips with a name, a type icon and a way to remove them.
- Show upload progress and failures on the chip, not in a separate error banner.
- State limits up front: file types, size and how many, before the user picks a file.
- Show automatic context too. If the AI can already see the current page, document or record, say so with a chip like "Using: Q3 report". Users can remove it if it's not relevant.
Showing context is one of the strongest patterns in AI UX. I go deeper on it in designing AI copilots.
Mode and model pickers
Many AI products now let users choose a model, a mode, or how much effort the AI should put in. This is useful, and very easy to make confusing.
- Name options by outcome, not by technology. "Quick answer" and "Think it through" mean more to most people than a model version number.
- Pick a good default so most users never need to touch it.
- Explain the trade-off in one line: "Slower, better for complex questions".
- Keep advanced options available, but out of the way, for users who know exactly which model they want.
Send, stop and disabled states
The send button has more states than it looks: empty input, ready, sending, generating and error. Each should look clearly different.
- When the input is empty, the send button should look inactive, but still be easy to find.
- While the AI is responding, turn send into a stop button in the same place.
- After an error, keep the user's prompt in the input or in the conversation, with a clear retry option.
What happens after send is a whole topic of its own, covered in AI loading and streaming states.
"Improve my prompt" features
Some products offer a button that rewrites the user's prompt to be more detailed. It can help beginners, but only if the user stays in charge. Show the rewritten prompt in the input before sending, so the user can see what changed and edit it. Silently rewriting what someone asked for is a quick way to lose trust.
Know when not to use a text box
A free-text prompt is the most flexible input, which also makes it the hardest. When you already know what the user is trying to do, a structured input is often better: a few dropdowns, a slider for length or tone, a set of options to tick.
Many good AI products mix the two: a structured form for the common job, with free text for everything else. This is closely related to generative UI, where the AI builds the right controls for the task.
Designing the prompt box for mobile
- Keep the input above the keyboard and inside the safe area, so it's never hidden behind the keyboard or the home indicator.
- Make voice input easy to reach. On a phone, speaking is often faster than typing a long prompt.
- Put starters where thumbs can reach, close to the input, and make chips at least 44 points tall.
- Collapse extras. Attachment, mode and model options can live behind a single "+" button to keep the input roomy.
Accessibility
- Give the input a real label, even if it's visually hidden. A placeholder is not a label.
- Give icon-only buttons clear names: "Send message", "Stop generating", "Attach file".
- Keep focus in the input after sending, so keyboard users can continue the conversation.
- Make sure starter chips and attachments are reachable and removable with the keyboard.
Prompt input checklist
- The placeholder says what this AI is best at, not "Ask anything".
- Three or four starter prompts use the user's own context.
- Tapping a starter fills the input rather than sending it.
- The input grows with content and keeps drafts safe.
- Enter doesn't send during text composition.
- Attachments and automatic context appear as removable chips.
- Mode and model options are named by outcome, with a good default.
- Send turns into stop while the AI responds.
- The input has a real label and works fully with a keyboard and screen reader.
Work with us
Building an AI feature? Our AI product design agency designs copilots, agents and AI workflows that users trust.
FAQ
Does every AI feature need a chat box?
No. A chat box is best when users' requests are varied and hard to predict. If most people do the same few things, buttons, forms and inline suggestions are usually faster and easier. Many products work best with both.
How many starter prompts should an AI input show?
Three or four is usually right. Fewer doesn't show enough range, and more turns into a menu people skim past. Rotate them based on context so they stay relevant.
Should Enter send the message?
On desktop chat, yes, with Shift+Enter for a new line, because that's what most users expect. On mobile, let Enter add a line and use the send button. Either way, never send while someone is mid-way through composing characters in an input method editor.
How do I help users write better prompts?
Build the help into the interface: a specific placeholder, relevant starters, templates for repeat tasks and visible context. Most users will never read a prompting guide, but they'll copy a good example.
Key takeaways
- The prompt box is the front door of an AI product, so design it as carefully as any key flow.
- Specific placeholders, contextual starters and templates beat the blank box.
- Keyboard details like text composition and safe drafts matter more than they look.
- Show attachments and automatic context as removable chips.
- Name modes by outcome, and use structured inputs when you already know the task.
What to do next
If you design the prompts as well as the box, my prompting guide for designers has templates you can adapt. For the conversation that follows the first message, see designing chatbot conversations people don't hate.
Want a review of your AI product's input and first-run experience? Tell me about your product and I'll point out the quickest wins.