This sample demonstrates the integration of badges into listview component to display the new e-mails count.
The badge can be integrated into the listview with the help of the templates. With badges there are so many real-time use cases that the listview can be used to achieve different applications.
Here, default badges are used and there is no need to customize the badge size because component will automatically adjust the size based on the container element.
In this samples, different types of colours are used to indicate their priorities of their notification.