Skip to main content

Counter

A numerical indicator displaying the current count of items, events, or actions. Counters can be used to show unread messages, items in a shopping cart, or other quantities that require the user’s attention.

Variants

Appearance

Counter offers different looks, each adding a unique touch. This variety makes your application look appealing and easier to understand.

Emphasis

Adaptable with two levels of emphasis - High and Low - allowing for clear prioritization within your application's communication.

PropertyValuesDefault value
Appearance
Default, Grey, Red, Blue, Green, Orange
Default
Emphasis
High, Low
High

Behaviors

Positioning on circle elements

The Counter always appears on circle elements at the top right corner with a -4px margin.

Positioning on square elements

The Counter always appears on square elements at the top right corner.

Long Numbers

When the number is more than 3 digits long, center the Counter on the right side of the component.

Positioning in a line

Center the Counter horizontally alongside related content.

Usage guidelines

Use only for numbers

The counter is strictly for numbers and doesn't require any overwhelming text.
Do
Don't