Trusted by the world’s leading companies
Overview
The Vue Badge is a pure CSS component used to convey notifications, messages, or statuses in different shapes and sizes. The Badge component can be easily integrated with ListView, Avatar, and other container controls.
Notification badge
The Vue Badge can display the number of unread notifications in different colors to indicate their priority level.
Link badge
Create clickable link badges using the link CSS badge variant with an anchor element. It has hover and focus states.
Overlapping badge
Create badges that overlap with profile icons or images, similar to social media notification number badges.
Badge position
A notification badge can be positioned at the top or bottom of profile icons or images. It is placed at the top by default.
Custom position
Even though badges support the conventional top and bottom positions, badge positions can be changed as desired. This can be done by adding a custom class to the badge element to override the default position applied from the source.
Predefined styles
Eight predefined contextual color variants are available for badges.
Types of badges
The CSS Badge control supports six different styles: default, circle, pill, notification, ghost, and dot.
UI customization
Completely customize the CSS Badge attributes, like dimensions and colors.
Integration with other components
Integrate the Vue Badge into various components to achieve different applications, such as displaying the number of unread messages in an email account or the status of product support.
Other supported frameworks
The Badge component is also available in React, Angular, and JavaScript frameworks. Check out the Badge on different platforms from these links:
Vue Badge code example
Easily get started with the Vue Badge using a few simple lines of Vue code, 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>Not sure how to create your first Vue Badge? Our documentation can help.
I’d love to read it now.145+ VUE UI COMPONENTS
Frequently Asked Questions
Why should you choose Syncfusion’s Vue Badge?
- Support for different types of badges like notification, pill, link, and overlap.
- Integration with other components such as Avatar, ListView, and Menu Bar.
- Standard, predefined, and contextual color variants.
- Industry-standard themes included: Material, Fabric, and Bootstrap.
- One of the best Vue Badge in the market that offers a feature-rich UI to interact with the software.
- Simple configuration and API.
- Support for all modern browsers.
- Touch-friendly and responsive UI.
Expansive learning resources such as demos and documentation to let you get started quickly with the Vue Badge component.
Where can I find the Syncfusion Vue Badge demo?
You can find our Vue Badge demo, which demonstrates how to render and configure the Badge.
Can I download and utilize the Syncfusion Vue Badge for free?
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, 5 or fewer developers, and 10 or fewer total employees.
How do I get started with Syncfusion Vue Badge?
A good place to start would be our comprehensive getting started documentation.
Our Customers Love Us
Here are some of their experiences.
Awards
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.