New to Telerik UI for Blazor? Download Free 30-day trial

Chat - Actions and Suggestions

Configurator

Suggested Actions

Suggestions

12/26/2025 12:18:02 AM
Jamie
Toolbar actions and context menu actions that are specific to the other user (receiver).
12/26/2025 12:18:48 AM
Jane
Toolbar actions and context menu actions that are specific to the current user (author).
12/26/2025 12:18:56 AM
Jamie
The last Chat message can show suggested actions.
Suggested Action 1InstallationSystem RequirementsStylingComponent Features
Chat Suggestion 1These are Always VisibleCopied to Message TextArea on Click
  • Actions-suggestions.razor
  • Author.cs
  • Message.cs
Loading the demo source code...please wait.
Style in ThemeBuilder
  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming

Description

The Telerik Chat component for Blazor allows you to define actions and suggestions that can optionally be related to specific chat messages and users.

  • Suggested Actions are associated with specific messages. They appear under the message only if it's currently the last one in the Chat. On click, their Text is automatically added as a new message and the Chat fires OnSendMessage.
  • Suggestions are visible between the message area and the TextArea. They are not related to a specific message, so they are always visible if defined. On click, their Text is automatically added to the Chat TextArea, but not sent. The component fires an OnSuggestionClick event.
  • Context Menu Actions can be defined separately for the author's and the receivers' messages. You can also use a single configuration for all messages. Context menu actions expose an OnClick event.
  • Toolbar actions are another option to define user actions that are available for author messages, recipient messages, or both. Toolbar actions expose an OnClick event.

The suggestions and the suggested actions can wrap or display on a single scrollable line.

This Blazor Chat Actions and Suggestions example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.