Iced Chat Widget
A customizable chat widget for the Iced GUI library. This crate provides a ready-to-use widget for displaying chat messages with support for custom themes, message actions, and varied message alignments.
Features
- Customizable Styling: Fully configurable themes for background, text, and message bubbles.
- Message Actions: Interactive buttons attached to messages for easy user interaction.
- Automatic Sorting: Messages are automatically sorted by timestamp.
- Flexible Integration: Easy to integrate into existing Iced applications using the
ChatMessagetrait.
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
Usage
To use the widget, implement the ChatMessage trait for your message struct and manage the ChatState.
use ;
use ;
use ;
License
This project is licensed under the GPL-2.0 License.