PromptSuggestions

Starter prompts as a wrap of pill buttons — the "Try asking…" row of an empty AI chat

Category: inputs · WCAG 2.2-AA · ai, chat, prompts, suggestions, starters, chips

Props

PropTypeDefaultDescription
itemsstring[]—The prompts, as the exact text each one sends.
onSelect(value: string) => void—Called with the chosen prompt — send it, or put it in the composer.
labels{ group?: string }—Overrides for the component’s user-visible strings (i18n) — `group` names the group for screen readers.

Design tokens

When to use

When not to use

How to build an accessible PromptSuggestions in React →

Examples

Starter prompts

<PromptSuggestions
  items={['Summarise this week’s tickets', 'Draft a release note', 'What changed in v2?']}
  onSelect={() => {}}
/>

Related components

← Back to docs