Skip to content

Example of Badge in ASP.NET MVC Avatar Control

This sample demonstrates the integration of avatar component with badges to create notification avatars.

6
12
46
82
99+
6
12
46
82
99+

The Avatar can be used with badges to have notification to indicate the new activities. The container needs to position: relative to achieve the notifications styled avatar. In this sample, the wrapper is applied with position: relative with avatar and badge elements inside it.

Since the avatar is a supportive and dependent component it can be used in many ways and can have wide variety of use-case.