# Φ Badge

Primitive: The possible styles and sizes of a badge are set here. A badge can be attached to many objects, icons, adaptIcons, Avatars, Labels (like within a button, app bar, tabs etc.)

[Styleguide Link](https://zpl.io/bzxkPPA)

* Parent: Multiple... [Badge - Usecase](/core/overview/badge/badge-use.md), [Icon](/core/overview/icon.md), [Label](/core/overview/label.md), [AdaptIcon](/core/overview/adapticon.md), [Avatar](/core/overview/avatar.md), [Button](/core/overview/button.md), [Tab](/core/overview/tab.md) etc.

## Properties

### Type

* **Value** - The use of a number to indicate the amount of actionable activities attached to the object. Note, the font used here is an exception in the design system and is set to a font-size of 8.
* **Color** - The association of a color to a status. IE. Red=Away, Green=Available

<figure><img src="/files/CKINzXrTDY98V9vlmcBv" alt=""><figcaption></figcaption></figure>

### Size

* Medium (12dp)
* Small (6dp)

### State

* Enabled
* Disabled

## Usage

A badge is an onscreen object linked to a notification/alert. A badge consists of a small circle, typically containing a number or other characters, that appears in proximity to another element or component. A badge is both a notifier that there are items associated with an object and an indicator of how many items there are.

A badge is used to draw the user's attention to an object, or to emphasize that something may need their attention. For example:

* A "New messages" notification might be followed by a badge containing the number of unread messages.
* A "Shopping cart" badge showing the number of items in the cart.
* A "Status" badge on an Avatar might have an accompanying badge to indicate the users activity status at that moment.

<figure><img src="/files/ETQl2vVD8IfblaEpcXzk" alt=""><figcaption></figcaption></figure>

A badge signifies that with a tap of the object tied to the badge, additional information indicated by the badge is accessible. Badges are a common feature in user interfaces, and provide users with a visual clue to help them discover additional relevant content. Their design and use is therefore an important factor in the overall user experience.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://able.bucca.com/core/overview/badge.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
