The Badge is a pure CSS component used to add notifications, messages, or statuses in different shapes and sizes. The Badge component can be easily integrated with ListView, Avatar, and other container controls.
The Vue Badge display unread notification counts in different colors to indicate their priority level.
Create clickable link badges using the link CSS badge variant with an anchor element. It has hover and focus states.
Create badges that overlap with profile icons or images, similar to social media notification count badges.
The notification badge can be positioned at the top or bottom of profile icons or images. It is placed at the top by default.
Eight predefined contextual color variants are available for badges.
The Vue Badge component supports six different styles: default, circle, pill, notification, ghost, and dot.
Completely customize the Vue Badge attributes, like dimensions and colors.
Integrate the Vue Badge into various components to achieve different applications, such as displaying the number of unread messages in an email category, the status of product support, and more.
The Badge component is also available in React, Angular, and JavaScript frameworks. Check out the different Badge platforms from the links below,
Easily get started with the Vue Badge using a few simple lines of Vue codes as demonstrated below. Also explore our Vue Badge Example that shows you how to render and configure a Badge in Vue.
<template>
<div id="app">
<h1>Badge Component <span class="e-badge">New</span></h1>
</div>
</template>
<script>
import Vue from "vue";
export default
{
data()
{
return {};
}
}
</script>
<style>
@import "../node_modules/@syncfusion/ej2-base/styles/material.css";
@import "../node_modules/@syncfusion/ej2-notifications/styles/material.css";
</style>
You can find our Vue Badge demo here.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.