Example of Types in Blazor CSS Badge Component
This sample demonstrates 8-predefined badge colors for various scenarios which can be applied from the modifier class.
.e-badge-primary.e-badge-secondary.e-badge-success.e-badge-danger.e-badge-warning.e-badge-info.e-badge-light.e-badge-darkThe badge supports the following 8 different essential colors for various situations. All the classes should be added with .e-badge class.
- Primary: The
.e-badge-primaryclass applies the primary color. - Secondary: The
.e-badge-secondaryclass applies the secondary color. - Success: The
.e-badge-successclass applies the success color. - Danger: The
.e-badge-dangerclass applies the danger color. - Warning: The
.e-badge-warningclass applies the warning color. - Info: The
.e-badge-infoclass applies the info color. - Light: The
.e-badge-lightclass applies the light color. - Dark: The
.e-badge-darkclass applies the dark color.