Badge
Badge is a global component used for pimples, numeric notifications and icon badges. Badge indicates new threads in the child view and creates a “trail” user can follow. Use a Pimple Badge to indicate a notification or new activity of an item (e.g. new activity inside a group) or a status (online, unread).
Badges usually appear on or near other components like Icons, Avatars, Chips and Lists.

- Overview
- Dev
Types
Property | Preview |
---|---|
Counter | |
Text | |
Pimple | |
Icon |
Size
Property | Counter | Pimple |
---|---|---|
Large | ||
Small |
Style
Property | Counter | Pimple |
---|---|---|
Red Used for notifications or new items. | ||
Green Used for live visitors or an “online” indication. | ||
Blue Used for chat messages. | ||
Grey Used for passive counters. |
Accessories
Property | Preview |
---|---|
Icon Icon can be added as an accessory to counter badge, or cover the entire badge |
Spec
Badge size recommendations
On Icon: Large Pimple or Small Badge
On Thumbnail: Large Badge
On Avatar: Avatar xxxSmall, xxSmall - Pimple Small Avatar xSmall, Small, Medium - Pimple Large Avatar Large, xLarge - Pimple Large (the badge is positioned using pythagoras)
SizeBadge basic and minimum shape is a circle. Badge expands horizontally according to value width maintaining fixed padding.
PlaygroundCode Example

TIP
This component extends the basic/TouchableOpacity, basic/View props.
APIThis is the list of additional props for the component