Radzen Blazor Components

Blazor Chat

The Blazor Chat component supports multi-participant conversations with distinct user identities and real-time messaging - for team chats, group discussions, and messaging apps.

Team Chat
JD
JS
BJ
Tuesday, 07 July 2026
JD
04:26

Welcome to the team chat! 👋

JS
Jane Smith
04:27

Thanks John! Looking forward to working together.

BJ
Bob Johnson
04:28

Same here! Let's make this project amazing! 🚀

Console log

Multi-participant support Link to this section

The Chat component supports multiple users with distinct identities, avatars, and online status indicators. Use Users to manage the chat users and CurrentUserId to identify the current user.

Multi-User Chat
JD
JS
BJ
AB
Tuesday, 07 July 2026
JD
04:26

Hello team! 👋

JS
Jane Smith
04:27

Hi John! Ready for our sprint planning?

BJ
Bob Johnson
04:28

Absolutely! I've prepared the user stories.

AB
Alice Brown
04:29

Perfect! Let's get started. 🚀

User Management

User List

JD

John Doe

OnlineYou
JS

Jane Smith

Online
BJ

Bob Johnson

Offline
AB

Alice Brown

Online

Multi-User Features

User Management

  • Add and remove users dynamically
  • Each participant has a unique identity and avatar
  • Online/offline status tracking
  • User list displayed in chat header

Message Features

  • Messages are aligned based on sender (user vs users)
  • User names shown above messages
  • Avatar initials generated from participant names
  • Message timestamps for all users

Customization options Link to this section

Customize the appearance and behavior of the Chat component using various properties like ShowUsers, ShowUserNames, MaxVisibleUsers, and ShowClearButton.

Customizable Chat
JD
JS
BJ
AB
CW
+1

No messages yet. Start a conversation!

Display Options

Text Customization

Customization Features

Display Controls

  • ShowUsers - Toggle participant avatars in header
  • ShowUserNames - Show/hide names above messages
  • ShowClearButton - Control clear chat button visibility
  • MaxVisibleUsers - Limit header participant display

Text Customization

  • Placeholder - Customize input field placeholder
  • EmptyMessage - Set message when chat is empty
  • Title - Set chat header title
  • All text properties support localization

Events and interactions Link to this section

Handle chat events like MessageAdded, MessageSent, UserAdded, and ChatCleared to integrate with your application logic and provide real-time updates.

Events Demo
JD
JS
BJ
Tuesday, 07 July 2026
JD
04:26

Welcome to the events demo! 🎉

JS
Jane Smith
04:27

This chat demonstrates all the available events.

BJ
Bob Johnson
04:28

Try the buttons above to see events in action!

Console log

Date separator and timestamp format Link to this section

Use TimestampFormat to control how the time is rendered next to each message, and ShowDateSeparator (with DateSeparatorFormat) to insert a divider between messages whenever the day changes — useful for chats that span multiple days.

Project Chat
JD
JS
BJ
Sunday, 05 July 2026
JD
09:15

Kicking off the sprint — who's handling the API changes?

JS
Jane Smith
09:22

I've got the endpoints. Should have a PR up by end of day.

JS
Jane Smith
17:40

PR is up: #482. Ready for review.

Monday, 06 July 2026
BJ
Bob Johnson
08:30

Reviewed — left a couple of comments on the validation logic.

JS
Jane Smith
10:05

Addressed them. Merged.

Tuesday, 07 July 2026
JD
09:00

Deploying to staging now.

BJ
Bob Johnson
09:48

Looks good on my end. 🚀

Date & Time Options

Compact chat Link to this section

Create a more compact chat interface suitable for smaller spaces or sidebar implementations by adjusting the height and hiding optional elements.

Compact Chat

Team Chat
JO
JA
BO
+1
Tuesday, 07 July 2026
JO
04:26

Quick update: Project is on track! ✅

JA
04:27

Great news! 🎉

BO
04:28

Thanks for the update

AL
04:29

Perfect timing for the demo

Minimal Chat

Tuesday, 07 July 2026
JO
04:26

Quick update: Project is on track! ✅

JA
04:27

Great news! 🎉

BO
04:28

Thanks for the update

AL
04:29

Perfect timing for the demo

Compact Chat Features

Space-Saving Options

  • Reduced height for sidebar implementations
  • Hide participant names to save vertical space
  • Limit visible users in header
  • Remove optional UI elements (clear button, title)

Use Cases

  • Sidebar chat panels
  • Mobile-responsive layouts
  • Embedded chat widgets
  • Minimal notification systems

RenderFragment as Title Link to this section

Use a RenderFragment to display more complex content in the title of the chat component.

Chat Title Badge
JD
JS
BJ
Tuesday, 07 July 2026
JD
04:26

Welcome to the team chat! 👋

JS
Jane Smith
04:27

Thanks John! Looking forward to working together.

BJ
Bob Johnson
04:28

Same here! Let's make this project amazing! 🚀

Console log

Mention Users Link to this section

Use a Mention Character to define on which character a callback should be triggered and display a search popup.

Chat with Mentions
JD
JS
BJ
Tuesday, 07 July 2026
JD
04:26

Welcome to the team chat! 👋

JS
Jane Smith
04:27

Thanks John! Looking forward to working together.

BJ
Bob Johnson
04:28

Same here! Let's make this project amazing! 🚀

Console log

Frequently asked questions

Does the Blazor Chat support multiple participants?

Yes. It renders messages from distinct users with their own identity and supports real-time, multi-participant conversations.

Related

Radzen Blazor Newsletter

Get an email when new components and releases ship.

All the tools in one place

Save Hours on Every Project

With Radzen Blazor subscription you get the full toolkit, including:

Dedicated support backed by proven expertise

Premium themes and theme editor

Ready-to-use UI blocks

Complete app templates

Visual design-time-experience

Radzen Blazor Studio

Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under MIT

Demos Configuration

Premium Themes

  • Material 3
  • Material 3 Dark
  • Material 3 Expressive
  • Material 3 Expressive Dark
  • Fluent
  • Fluent Dark

Free Themes

  • Material
  • Material Dark
  • Standard
  • Standard Dark
  • Default
  • Dark
  • Humanistic
  • Humanistic Dark
  • Software
  • Software Dark
An error has occurred. This app may no longer respond until reloaded. Reload 🗙