Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Blazor Chat UI is a lightweight and highly customizable component designed for creating modern chat interfaces. It displays conversations between two or more users, offering powerful features like real-time typing indicators, on-demand message loading, message suggestions, and a great user experience.

Blazor Chat UI component.


Blazor Chat UI Code Example

Easily get started with the Blazor Chat UI using a few simple lines of C# code example, as demonstrated below. Also, explore our Blazor Chat UI Example, which shows how to render and configure the Blazor Chat UI.

@using Syncfusion.Blazor.InteractiveChat

<SfChatUI User="@Customer" HeaderText="LiveAssist" Messages="@ChatMessages" Width="400px" Height="500px">
</SfChatUI>

@code {

    UserModel Customer;
    UserModel SupportAgent;
    List<ChatMessage> ChatMessages;

    protected override void OnInitialized()
    {
        Customer = new UserModel()
        {
            ID = "user-1001",
            User = "Richard Rose"
        };

        SupportAgent = new UserModel()
        {
            ID = "agent-1001",
            User = "Donald Krish"
        };

        ChatMessages = new List<ChatMessage>()
        {
            new ChatMessage() { Text = "Hi, I need help with my order.", Timestamp = new DateTime(2024, 12, 11, 9, 0, 0), Author = Customer },
            new ChatMessage() { Text = "Sure, could you provide your order ID?", Timestamp = new DateTime(2024, 12, 11, 9, 1, 0), Author = SupportAgent },
            new ChatMessage() { Text = "My order ID is #12345.", Timestamp = new DateTime(2024, 12, 11, 9, 2, 0), Author = Customer },
            new ChatMessage() { Text = "Thank you. Let me check the details for you.", Timestamp = new DateTime(2024, 12, 11, 9, 3, 0), Author = SupportAgent },
            new ChatMessage() { Text = "I found it! Your package was delivered yesterday at 3 PM.", Timestamp = new DateTime(2024, 12, 11, 9, 4, 0), Author = SupportAgent },
            new ChatMessage() { Text = "Oh, I didn’t notice it. Let me check.", Timestamp = new DateTime(2024, 12, 11, 9, 5, 0), Author = Customer },
            new ChatMessage() { Text = "Found it behind the planter. Thanks for your help!", Timestamp = new DateTime(2024, 12, 11, 9, 6, 0), Author = Customer }
        };
    }
}

Messages

The Chat UI supports binding data from real-time data streaming services, enabling seamless updates to the chat interface. It supports user avatars and timestamps, with current user messages aligned to the right for clarity. If an avatar image is not provided, fallback text is displayed using the initials of the user’s first and last name.

Blazor Chat UI messages.


Blazor Chat UI message status.

Message status

To enhance communication, the Chat UI allows setting a status for each message. You can also define custom statuses, such as sent, delivered, and read, along with corresponding icons and tooltips.


Suggestions

The Chat UI offers dynamic message suggestions to enhance user engagement and streamline conversations. Customizable suggestions, such as quick replies or predefined templates allow users to respond and take action within the chat.

Blazor Chat UI suggestions.


Blazor Chat UI timebreak.

Time break

The time break in the Chat UI automatically inserts breaks between messages based on the time, organizing conversations by date. This enhances readability by visually grouping messages, making it easier for users to follow the conversation.


Typing indicator

The typing indicator displays real-time updates when a user is typing a message. It enhances user interaction by signaling activity, creating a responsive and engaging chat experience.

Blazor Chat UI typing indicator.


Blazor Chat UI header toolbar.

Header toolbar

The header toolbar allows the addition of custom items to the header area, enabling actions like initiating a call, starting a new chat, or accessing chat settings. It offers extensive customization options, including adjusting toolbar item icons, text, alignment, and other settings to suit the needs.


On-demand messages loading

On-demand message loading allows messages to be loaded dynamically, improving performance and reducing load times, particularly in long conversations. This ensures a smooth user experience by only fetching messages as needed rather than loading the entire conversation at once.

Blazor Chat UI on-demand messages loading.


Message options

Enhance user interaction with intuitive message-level actions that make conversations more engaging and organized by using the built-in options like copy, reply, pin, and delete.

Copying message

The copy option allows users to quickly duplicate the content of any message, making it easy to reference or reuse important information across conversations or applications.

Blazor Chat UI copy messages.

Blazor Chat UI reply message.

Replying message

The reply option enables users to respond directly to a specific message, preserving context and creating a threaded conversation flow that enhances clarity and engagement.

Pin message

The pin option highlights important messages by keeping them fixed and easily accessible, helping users quickly revisit key information without scrolling through the chat.

Blazor Chat UI pin message.

Blazor Chat UI delete message.

Delete message

The delete option allows users to remove messages from the conversation, helping maintain a clean and focused chat environment by eliminating unnecessary or outdated content.

Forward message

The forward option lets users share messages across different chats, clearly marking them as forwarded to maintain transparency and streamline content redistribution.

Blazor Chat UI forward message.


Templates

Supports templates for customizing the empty conversation area, messages, typing indicator, and more. These templates allow users to create a unique, personalized chat experience that integrates seamlessly into their applications.

Empty chat template

The empty chat template allows customization of the chat interface when no messages are displayed. Personalized content, such as welcome messages or images can be added to create an engaging and inviting experience for users starting a conversation.

Blazor Chat UI empty chat template.

Blazor Chat UI message template.

Message template

The message template provides flexibility to customize the appearance and styling of each message. Modify text styling, layout, and other design elements to ensure a personalized chat experience.

Time break template

Customize how time breaks are displayed with the time break template, such as showing “today,” “yesterday,” or specific dates. This enhances conversation organization by clearly separating messages based on time, improving readability and user experience.

Blazor Chat UI timebreak template.

Blazor Chat UI typingusers template.

Typing indicator template

The typing indicator template customizes the display of users currently typing a message. It allows the styling and positioning of the typing indicator, enhancing the user experience.

Use the footer template to customize the default footer area and manage message send actions with a personalized design. This flexibility allows users to create unique footers that meet their specific needs.

Blazor Chat UI footer template.


Built-in themes

The Blazor Chat UI supports these built-in themes: Tailwind CSS, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, Fluent, and high contrast. Users can customize these built-in themes or create new themes to achieve their desired look and feel by overriding SASS variables or using the Theme Studio application.


Accessibility

  • Full support for WAI-ARIA accessibility practices for screen readers and assistive devices.
  • UI visual elements such as foreground color, background color, line spacing, text, and images are designed based on WCAG 2.0 standards.
  • Right-to-left (RTL) text direction can be set for users of RTL languages like Hebrew, Arabic, or Persian.

Developer-friendly APIs

The Blazor Chat UI component offers APIs and templates for customizing its appearance and behavior. With these APIs, developers can create a unique and highly customized Chat UI that fits seamlessly into their applications.





Struggling to decide on the right product?

Our comprehensive competitor comparison of Blazor components will guide you to the perfect choice.

tick-mark 145+ UI components
tick-mark 1200+ interactive Blazor demos
tick-mark 3.4M+ downloads
competitive-banner-FT-image

Other supported frameworks

The Chat UI is available for the React, Angular, JavaScript, Vue, ASP.NET Core, and ASP.NET MVC frameworks. Explore its platform-specific options through the following links:

Supported browsers

The Blazor Chat UI works well with all modern web browsers, including Chrome, Firefox, Edge, Safari, and Opera.

Supported browsers in Blazor Chat UI.

Blazor Components – 145+ UI and DataViz Components

Frequently Asked Questions

  • Provides a flexible chat UI designed for modern real-time messaging applications.
  • Includes features like real-time typing indicators and message suggestions.

  • Supports time breaks and on-demand message loading.

  • Offers extensive customization for messages, headers, and footers.

  • One of the best Blazor Chat UI in the market that offers feature-rich UI to interact with the software.
  • Simple configuration and API.

  • Support for all modern browsers.
  • Mobile-touch friendly and responsive.
  • Extensive learning resources such as demos and documentation to learn quickly and get started with Blazor Chat UI.

You can find our Blazor Chat UI demo here, which demonstrates how to render and configure the Chat UI.

To integrate your chat, capture user input using the OnSend event in Syncfusion Blazor Chat and call your AI service (e.g., Azure OpenAI or Dialogflow) from the backend. Then, append the AI response to the chat message collection to display it in the UI.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Syncfusion Blazor Chat UI provides the front-end for chat interfaces. To enable real-time messaging, integrate it with SignalR or any WebSocket-based service. SignalR handles live message broadcasting, while the Chat UI displays messages in a structured format.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion® reduces customers’ development time.
Here are some of their experiences.

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Read Our Customer Stories


Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Syncfusion Blazor Chat UI Resources

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

Up arrow icon