Back to compare picker

Prompt box vs Prompt suggestions vs Command palette vs Search suggestions vs Textarea

Choose prompt box when users need to compose, edit, review, attach context to, and intentionally submit a natural-language request to an AI system.

Decision dimensions

Dimension Prompt boxPrompt suggestionsCommand paletteSearch suggestionsTextarea
UI or UX UI + UX - Primary editable input surface for composing and submitting an AI requestUI + UX - AI prompt starter surfaceUI + UX - Modal command surfaceUI + UX - Suggested-query surfaceUI + UX - Multi-line freeform writing field
UI guidance Render the prompt box as a labelled, editable composer with visible draft area, send control, context chips, attachment controls, model or mode indicator when relevant, character or token boundary feedback, and clear disabled or blocked-send reasons.Render contextual prompt starter cards or chips with a task label, editable prompt text, capability boundary, selected state, disabled or stale state, and explicit send action.Render a compact dialog-like command surface with a search input, current scope, typed command mode, active result, command metadata, and empty state.Render a search field with query suggestions, active option, selected suggestion, and no-suggestion state.Render a persistent label, enough visible rows for the expected answer, optional hint, readable multiline text, visible focus state, and nearby error or count text associated with the textarea.
UX guidance Use a prompt box when users need to author a natural-language request for AI generation, transformation, analysis, or automation and must remain in control of the exact request being submitted.Help users discover useful AI requests while preserving control over the exact prompt that is sent.Accelerate expert navigation and repeated actions across a large product while preserving ordinary navigation for novice and low-frequency users.Help users formulate better search queries without forcing a choice.Use textarea when users need to write or paste sentences, paragraphs, explanations, notes, or comments that may wrap across lines.
Good UI An assistant composer labels the selected source as Contract draft, shows Attach file, Use selected text, Format: table, and Send, and blocks sending when the referenced file is no longer available.Each prompt starter shows an action label, full prompt preview, and boundary note such as uses selected thread only.Centered command surface with input, shortcut hint, scope chip, grouped commands, command type labels, and a visible active row.Suggestions appear directly below the search field with active row, readable labels, and optional matched text.A more-detail field has a visible question, sensitive-data hint, five visible rows, wrapping text, remaining-character count, and an error directly above the textarea when needed.
Bad UI A blank AI field shows only Ask me anything and sends vague requests with hidden page context.Three tiny chips labeled summarize, improve, and more with no context or affordance.Huge branded modal that buries the input below decorative content.Suggestions overlay unrelated content without a dismiss path.A paragraph question is squeezed into a single-line input that hides most of the answer.
Good UX A user selects a policy paragraph, writes Summarize risks for a non-lawyer, sees Selected text and Output: bullets chips, submits, then edits and resends the exact prompt after the first answer is too broad.Selecting a starter loads a draft, moves focus to the prompt editor, and lets the user adjust scope before sending.Keyboard shortcut or visible trigger opens the palette, focus lands in the command input, arrows move the active row, and Enter activates the highlighted safe command.Users can keep typing, choose a suggestion, dismiss suggestions, or submit their own query.A user writes two paragraphs, sees remaining characters update, submits, and the exact line breaks and wording are preserved.
Bad UX A user presses Enter expecting a new line and accidentally sends an unfinished prompt to an external model.Clicking a suggestion immediately runs a consequential task without review.Palette is the only way to reach important navigation.Auto-submitting the top suggestion.A user writes a long explanation, hits submit, and the product clears the entire draft after a length error.
Best fit Users must write or revise an AI request before generation, analysis, transformation, or automation begins.The AI surface supports open-ended requests and users need examples of useful, supported tasks.Users need to traverse a broad product surface quickly.The system can predict likely queries.Users need to write sentences, paragraphs, comments, explanations, notes, or descriptions.
Avoid when The task is better expressed as a fixed form, button, or command with known parameters.The user must provide fixed required fields that are clearer as a form.The app has only a few obvious actions.Suggestions are low quality or biased toward irrelevant content.The answer is a short one-line value.
Required state Empty prompt state with label, helpful instruction, and no implied hidden submission.Initial state with contextual prompt starters and capability or source boundary notes.Closed state with discoverable trigger.No input state.Empty untouched state with visible label and optional hint.
Accessibility burden Provide a programmatic label for the prompt editor and named controls for send, attach, remove context, clear, retry, and cancel.Expose suggestions as named buttons, list items, or cards with clear keyboard focus and selected state.Use dialog semantics with a clear name and modal behavior when the rest of the page is inert.Expose the suggestions list and active option.Associate the textarea with a visible label that states the writing prompt.
Common misuse Showing Ask anything as the only instruction while hiding what sources and tools the model can use.Showing generic chips such as summarize, improve, or make better with no object-specific context.Hiding basic navigation behind a keyboard-only palette.Auto-submitting the top suggestion without confirmation.Using a single-line input for paragraph answers.

Prompt box

UI or UX
UI + UX - Primary editable input surface for composing and submitting an AI request
UI guidance
Render the prompt box as a labelled, editable composer with visible draft area, send control, context chips, attachment controls, model or mode indicator when relevant, character or token boundary feedback, and clear disabled or blocked-send reasons.
UX guidance
Use a prompt box when users need to author a natural-language request for AI generation, transformation, analysis, or automation and must remain in control of the exact request being submitted.
Good UI
An assistant composer labels the selected source as Contract draft, shows Attach file, Use selected text, Format: table, and Send, and blocks sending when the referenced file is no longer available.
Bad UI
A blank AI field shows only Ask me anything and sends vague requests with hidden page context.
Good UX
A user selects a policy paragraph, writes Summarize risks for a non-lawyer, sees Selected text and Output: bullets chips, submits, then edits and resends the exact prompt after the first answer is too broad.
Bad UX
A user presses Enter expecting a new line and accidentally sends an unfinished prompt to an external model.
Best fit
Users must write or revise an AI request before generation, analysis, transformation, or automation begins.
Avoid when
The task is better expressed as a fixed form, button, or command with known parameters.
Required state
Empty prompt state with label, helpful instruction, and no implied hidden submission.
Accessibility burden
Provide a programmatic label for the prompt editor and named controls for send, attach, remove context, clear, retry, and cancel.
Common misuse
Showing Ask anything as the only instruction while hiding what sources and tools the model can use.

Prompt suggestions

UI or UX
UI + UX - AI prompt starter surface
UI guidance
Render contextual prompt starter cards or chips with a task label, editable prompt text, capability boundary, selected state, disabled or stale state, and explicit send action.
UX guidance
Help users discover useful AI requests while preserving control over the exact prompt that is sent.
Good UI
Each prompt starter shows an action label, full prompt preview, and boundary note such as uses selected thread only.
Bad UI
Three tiny chips labeled summarize, improve, and more with no context or affordance.
Good UX
Selecting a starter loads a draft, moves focus to the prompt editor, and lets the user adjust scope before sending.
Bad UX
Clicking a suggestion immediately runs a consequential task without review.
Best fit
The AI surface supports open-ended requests and users need examples of useful, supported tasks.
Avoid when
The user must provide fixed required fields that are clearer as a form.
Required state
Initial state with contextual prompt starters and capability or source boundary notes.
Accessibility burden
Expose suggestions as named buttons, list items, or cards with clear keyboard focus and selected state.
Common misuse
Showing generic chips such as summarize, improve, or make better with no object-specific context.

Command palette

UI or UX
UI + UX - Modal command surface
UI guidance
Render a compact dialog-like command surface with a search input, current scope, typed command mode, active result, command metadata, and empty state.
UX guidance
Accelerate expert navigation and repeated actions across a large product while preserving ordinary navigation for novice and low-frequency users.
Good UI
Centered command surface with input, shortcut hint, scope chip, grouped commands, command type labels, and a visible active row.
Bad UI
Huge branded modal that buries the input below decorative content.
Good UX
Keyboard shortcut or visible trigger opens the palette, focus lands in the command input, arrows move the active row, and Enter activates the highlighted safe command.
Bad UX
Palette is the only way to reach important navigation.
Best fit
Users need to traverse a broad product surface quickly.
Avoid when
The app has only a few obvious actions.
Required state
Closed state with discoverable trigger.
Accessibility burden
Use dialog semantics with a clear name and modal behavior when the rest of the page is inert.
Common misuse
Hiding basic navigation behind a keyboard-only palette.

Search suggestions

UI or UX
UI + UX - Suggested-query surface
UI guidance
Render a search field with query suggestions, active option, selected suggestion, and no-suggestion state.
UX guidance
Help users formulate better search queries without forcing a choice.
Good UI
Suggestions appear directly below the search field with active row, readable labels, and optional matched text.
Bad UI
Suggestions overlay unrelated content without a dismiss path.
Good UX
Users can keep typing, choose a suggestion, dismiss suggestions, or submit their own query.
Bad UX
Auto-submitting the top suggestion.
Best fit
The system can predict likely queries.
Avoid when
Suggestions are low quality or biased toward irrelevant content.
Required state
No input state.
Accessibility burden
Expose the suggestions list and active option.
Common misuse
Auto-submitting the top suggestion without confirmation.

Textarea

UI or UX
UI + UX - Multi-line freeform writing field
UI guidance
Render a persistent label, enough visible rows for the expected answer, optional hint, readable multiline text, visible focus state, and nearby error or count text associated with the textarea.
UX guidance
Use textarea when users need to write or paste sentences, paragraphs, explanations, notes, or comments that may wrap across lines.
Good UI
A more-detail field has a visible question, sensitive-data hint, five visible rows, wrapping text, remaining-character count, and an error directly above the textarea when needed.
Bad UI
A paragraph question is squeezed into a single-line input that hides most of the answer.
Good UX
A user writes two paragraphs, sees remaining characters update, submits, and the exact line breaks and wording are preserved.
Bad UX
A user writes a long explanation, hits submit, and the product clears the entire draft after a length error.
Best fit
Users need to write sentences, paragraphs, comments, explanations, notes, or descriptions.
Avoid when
The answer is a short one-line value.
Required state
Empty untouched state with visible label and optional hint.
Accessibility burden
Associate the textarea with a visible label that states the writing prompt.
Common misuse
Using a single-line input for paragraph answers.
Decision rules
  • Choose prompt box when users need to compose, edit, review, attach context to, and intentionally submit a natural-language request to an AI system.
  • Choose prompt suggestions when users need contextual starter prompts or prompt-gallery examples that fill the prompt box but do not own the primary input surface.
  • Choose command palette when the input resolves to known application commands, navigation targets, or actions with predictable side effects rather than open-ended model generation.
  • Choose search suggestions when the input formulates a retrieval query and returns matching records, pages, or documents rather than asking a model to transform or generate content.
  • Choose textarea when the product only needs a long-form text field with labels, validation, character count, and submission, not AI context, model state, attachments, or generated-output review.
  • A prompt box must make the send action explicit, distinguish draft from submitted prompt, and show whether the request will use selected text, attached files, current page context, workspace data, tools, or no extra context.
  • Prompt boxes need empty, typing, over-limit, attachment, unavailable context, blocked send, submitted, generation pending, error, retry, edit-and-resend, and cleared draft states.
  • Do not silently run a prompt from empty-field hint text, starter chips, paste, Enter key, route changes, or model suggestions when the request can affect people, records, permissions, money, or published content.
  • When the model cannot use a selected source, file, tool, language, or permission scope, the prompt box should block send or show a specific repair path before submission.
  • For chat interfaces, the prompt box is the input component inside a broader conversation surface; the conversation history, turn ordering, streaming output, citations, and follow-up behavior belong to the chat interface pattern.
Inspect live examples
Failure modes
  • Empty-field hint text acts like a prompt and users submit a vague request without knowing what context the model will use.
  • Pressing Enter always sends the prompt even when the user expected a newline in a multi-line AI request.
  • The prompt box claims to use current document context, but the selected file is unavailable, stale, or outside the user's permission scope.
  • Prompt suggestions are auto-submitted instead of loaded into an editable draft.
  • The prompt box is styled like a search field, so users expect exact retrieval results rather than generated output that needs review.
  • A command palette action is hidden behind a prompt box, making destructive or administrative side effects look conversational.