Blazor ChatUI Example - API Methods Usage
Design Community
Properties
This sample demonstrates the properties available in the Chat UI component, showcasing how various features can be customized through the property panel. It highlights the flexibility of the component, allowing users to adjust timestamps, headers, footers, time breaks, and more.
Customizable APIs and Properties:
- TimestampFormat - Allows users to change the timestamp format by selecting an option from the property panel.
- ShowTimestamp - Controls whether the timestamp is displayed in the chat conversation.
- ShowTimeBreak - Enables or disables the display of time breaks in the chat interface.
- ShowHeader - Allows users to toggle the visibility of the chat header.
- ShowFooter - Toggles the visibility of the chat footer.
- EnableCompactMode - Reduces spacing and left-aligns all messages to display more content within the visible chat area.
- TypingUsers - Manages the list of users who are typing, updated through multi-select options in the property panel.
- MentionUsers - Configurable list of users that can be tagged using '@' in chat messages.
- StatusIconCss - Defines a CSS class for the status bar icon, with built-in styles for Online, Offline, Away, and Busy statuses, while allowing further customization.
- MessageToolbar - Configures the toolbar that appears on individual messages, allowing customization of actions such as copy, forward, reply, pin, and delete. Supports adding, removing, or reordering toolbar items based on application needs.
These properties can be adjusted via the property panel for a highly flexible and customizable chat experience.