> For the complete documentation index, see [llms.txt](https://pmsgz.gitbook.io/nectar/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pmsgz.gitbook.io/nectar/advanced/web-apis/app-badging.md).

# App Badging API

## Overview

App Badging API allows installed web apps to set an application-wide badge on the app icon, shown in an operating-system-specific place such as homescreen, taskbar, or dock.

Badging makes it easy to notify the user without any interruption, when there is a new activity that might require their attention, or to show the number of unread notifications.

## Demo

<https://nectar.website/demo/web-apis/app-badging/>

{% hint style="info" %}
For testing the App Badging API, please make sure that Nectar is installed on the homescreen.
{% endhint %}

## Usage

You can refer to the code present in `/partials/web-apis/app-badging.html` file and use it accordingly.

## Reference

<https://developer.mozilla.org/en-US/docs/Web/API/Badging_API>
