# Predefined Suggestions

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](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/chat/quick-actions/suggestions#direct-send)—Suggestions that are immediately sent as messages when clicked
* [Input Population](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/chat/quick-actions/suggestions#input-population)—Suggestions that populate the input field for review and editing before sending

You can control how suggestions are displayed using the [`suggestionsLayout`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#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`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#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`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#onsuggestionclick) event is triggered, returning the ChatSuggestion as an argument. This allows you to handle each suggestion accordingly.

[Demo Source](https://demos.telerik.com/kendo-react-ui/conversational-ui/chat/quick-actions/suggestions/source.txt)

## 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`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#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

[Demo Source](https://demos.telerik.com/kendo-react-ui/conversational-ui/chat/quick-actions/suggestions-input/source.txt)

## 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`](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api/chatprops#onsuggestionclick) handler. You can also provide a reset mechanism to restore all suggestions when needed.

[Demo Source](https://demos.telerik.com/kendo-react-ui/conversational-ui/chat/quick-actions/suggestions-dismissible/source.txt)

## Suggested Links

* [Suggested Actions](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/chat/quick-actions/suggested-actions)
* [Message Tools](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/chat/messages/tools)
* [Events Handling](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/chat/events)
* [Chat API Reference](https://www.telerik.com/kendo-react-ui-develop/components/conversationalui/api)
