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