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

Chat - Templates

  • EXAMPLE
  • VIEW SOURCE
Configurator

No Data Template

Start Affix Template

End Affix Template

TextArea Mode

Monday, May 11, 2026
David
Hey! Looks who's the new member of our family!
Seen
User Image
Seen
Jane
So cute! What's the little Corgi's name?
Received
Monday, May 11, 2026
David
Hey! Looks who's the new member of our family!
User Image
Jane
So cute! What's the little Corgi's name?
  • Templates.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

This Telerik UI for Blazor Chat example demonstrates the usage of templates to customize the following parts of the component UI:

  • The message view when there is no data (NoDataTemplate)
  • Custom content in the Chat header area (HeaderTemplate)
  • The online user status (UserStatusTemplate)
  • The message content without the message container itself (MessageContentTemplate, Jane's Chat)
  • The message content and the message container itself (MessageTemplate, David's Chat)
  • Custom content on the left of the TextArea (ChatTextAreaStartAffixTemplate)
  • Custom content on the right of the TextArea (ChatTextAreaEndAffixTemplate)
This Blazor Chat Templates 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.