We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

syncfusion trusted companies

Overview

The Angular 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.


Notification badge

The Angular Badge display unread notification counts in different colors to indicate their priority level.


Pill badge

Create badges with rounded edges using the pill badge variant.


Create clickable link badges using the link CSS badge variant with an anchor element. It has hover and focus states.


Overlap badge

Create badges that overlap with profile icons or images, similar to social media notification count badges.


Badge position

The notification badge can be positioned at the top or bottom of profile icons or images. It is placed at the top by default.


Predefined styles

Eight predefined contextual color variants are available for badges.


Types of badges

The Angular Badge component supports six different styles: default, circle, pill, notification, ghost, and dot.


UI customization

Completely customize the Angular Badge attributes, like dimensions and colors.


Integration with other components

Integrate the Angular 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.


Angular Badge Code Example

Easily get started with Angular Badge using a few simple lines of HTML and TS code, as demonstrated below. Also explore our Angular Badge Example that shows you how to render the Angular Material Badge.

<div class="col-lg-12 control-section">
    <div class="sample_container badge-list">
        <ejs-listview id='lists' [dataSource]='dataSource' [fields]='fields' headerTitle='Inbox' [showHeader]='true' (actionComplete)="onActionComplete()">
            <ng-template #template let-dataSource="">
                <div class="listWrapper" style="width: inherit;height: inherit;">
                    <span class=" list_svg">&nbsp;</span>
                    <span class="list_text"> </span>
                    <span class=""></span>
                </div>
            </ng-template>
        </ejs-listview>
    </div>
</div>
import { Component, ViewEncapsulation, Inject, ViewChild } from '@angular/core';
import * as dataSource from './dataSource.json';
/**
 *  Sample for CSS Basic Layout Badge
 */
@Component({
    selector: 'control-content',
    templateUrl: 'list-view.html',
    styleUrls: ['list-view.css'],
    encapsulation: ViewEncapsulation.None
})

export class ListviewController {
    // Datasource for listview, badge field is the class data for Badges
    public dataSource: { [key: string]: Object }[] = (dataSource as any).listdata;

    // Map fields
    public fields: object = { groupBy: 'type' };

    public onActionComplete() {
        let list: HTMLElement = document.getElementById('lists').getElementsByClassName('e-list-group-item')[0] as HTMLElement;
        list.style.display = 'none';
    }
}

Other supported frameworks

Badge is also available in React, Vue, and JavaScript frameworks. Check out the different Badge platforms from the links below,




70+ ANGULAR UI COMPONENTS

Frequently Asked Questions

  • Easy integration with other components such as Avatar, ListView, and Menu.
  • An easily customizable notification badge that provides widely used badge types, standard colors, and predefined symbols.
  • Badges are commonly used to display a notification count or status information in different sizes and contextual color variants.
  • One of the best Angular Badge in the market that offers a feature-rich UI.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive
  • Expansive learning resources such as demos and documentation to learn quickly and get started with Angular Badge.

We do not sell the Angular Badge separately. It is only available for purchase as part of the Syncfusion Angular suite, which contains over 70 Angular components, including the Badge. A single developer license for the Syncfusion Essential Studio for Angular suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.

You can find our Angular Badge demo here.

No, our 70+ Angular components, including Badge, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their Badge alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 70+ Angular components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.

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.

Read independent,
authenticated reviews
on G2

Download Now Pricing

What do our customers say about us?

double quotes

Using Syncfusion Angular and JavaScript controls makes front-end web development a piece of cake. Each component has many properties that can be configured as per your desire, methods that can be used to interact with the element, and a lot of events that trigger at different stages, which makes modifying your components according to the state of the application an easy task. Also, their support is amazing! They always offer a sample working project, which makes it very simple to solve your question about your code.
Carlos Rodriguez Garcia

Carlos Rodriguez Garcia

Vistatec

double quotes

We started using Syncfusion Angular controls for the Scheduler to offer our providers a way to schedule their availability and automate our administrative process to show availability and gaps in schedules. This helped us provide the best user experience and deliver care to our patients in a timely manner.
Tim Rankel

Tim Rankel

Senior Developer at MeMD

Transform your applications today by downloading our free evaluation version Download Free Trial

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.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile