New to KendoReactStart a free 30-day trial

Predefined Suggestions
Premium

Updated on Feb 9, 2026

Predefined suggestions streamline user interactions by offering quick-select options for common responses or phrases. This feature significantly improves user experience by reducing typing effort and ensuring consistent communication patterns.

The Chat component supports two approaches for handling suggestions:

  • Direct Send—Suggestions that are immediately sent as messages when clicked
  • Input Population—Suggestions that populate the input field for review and editing before sending

You can control how suggestions are displayed using the suggestionsLayout property, which supports three layout modes: scroll (suggestions scroll horizontally), wrap (suggestions wrap to new rows), and scrollbuttons (horizontal scroll with navigation buttons).

Direct Send

This is the default behavior where suggestions are immediately sent as messages when clicked. Configure suggestions using the suggestions input with an array of ChatSuggestion objects. Each suggestion includes an identifier, display text, optional description for context, and a disabled state for conditional availability.

Suggestions appear as clickable items above the message input, allowing users to instantly send preset responses. Upon clicking a suggestion, the onSuggestionClick event is triggered, returning the ChatSuggestion as an argument. This allows you to handle each suggestion accordingly.

Change Theme
Theme
Loading ...

Input Population

This approach allows users to populate the Chat input field with suggested text rather than sending messages directly. When a suggestion is clicked, the text is populated into the input field using the inputValue property, enabling users to review, edit, or customize the text before sending.

This pattern is particularly useful for:

  • Templates that users might want to customize
  • Partial messages that need additional context
  • Scenarios where users want to review before sending
  • Multi-part messages where suggestions provide starting points
Change Theme
Theme
Loading ...

Dismissible Suggestions

Dismissible suggestions provide a dynamic experience where suggestions are automatically removed from the list once clicked. This approach is particularly effective for progressive workflows where users work through a series of options, helping them:

  • Track which suggestions they've already explored
  • Reduce visual clutter as they progress through options
  • Maintain a cleaner interface focused on remaining choices
  • Prevent accidental resubmission of the same query

Implement this pattern by removing clicked suggestions from the suggestions array in the onSuggestionClick handler. You can also provide a reset mechanism to restore all suggestions when needed.

Change Theme
Theme
Loading ...