Roman Kamushken
What is Badge?
Badge (aka Tag) — small overlapped UI item which indicates a status, notification, or event that appears in relativity with the underlying object.
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebc1b76c36b625acb81d7_Badge_01-min.webp)
{{spacer-64}}
{{setproduct-gpt}}
{{spacer-64}}
Badge Anatomy
Content
The default content of Badge's body is
- Numeric value — to display the number of events
- Text caption — to tag, name or categorize items
- Icon — to show up the status of the underlying object
- No item (dot-only Badge) — to inform without details
{{spacer-24}}
Purposes
Badge with a Numeric value is used to represent the number of events related to the parent UI item:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef30896bea08dff09c6_Badge_02-min.webp)
{{spacer-16}}
Use Badges with a Text caption to specify a label for the variety of objects (e.g. to tag a topic, categorize items, or indicate views amount):
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef382c5bbc091612c3a_Badge_03.webp)
{{spacer-16}}
Use Icons inside Badge to show up the condition of a related component, or response to a user with the feedback.
For example, it's clear there is a kind of error with synced devices settings section and there is something downloaded successfully:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef300dfb92f04aa598d_Badge_04-min.webp)
{{spacer-16}}
Dot-only Badge is used in order to just attract your attention to the specific control and encourage you to explore what is inside:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef316f00ab82a237a66_Badge_05-min.webp)
{{spacer-24}}
Behavior
The Badge's container expands to the left, right, or from the center depending on the number of caption symbols. Use "+" or "k" abbreviations to decrease symbols amount and save space:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef38e8597d27f3bf674_Badge_06-min.webp)
When Badge stretches to the right, make sure your neighbour UI elements aren't pushed aside in your layout, due to a container width is now enlarged.
{{spacer-64}}
Styles & Themes
For a deep themification in order to set Badge more distinct, you have to apply several properties:
- Colors — to regulate the Badge priority
- Corner radius — to set a Badge's container shape
- Outline stroke — to visually separate Badge from underlying item
- Shadow — to set a style with hovering effect
{{spacer-24}}
Colors
Solid Badges are more visible than shaded (where the opacity is reduced to 15–20%). Us them in priority cases, while shaded Badges may be applied for other cases, e.g. categorizing topics, tagging, etc.:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef38ed930fbe797701f_Badge_07-min.webp)
{{spacer-16}}
Choose Badge's colors wisely in order to make it more attentive or recognizable on every surface, especially when placed over images:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef3ea098a36b7d01187_Badge_08-min.webp)
{{spacer-24}}
Corner radius
Adjust corners radius for Badges to vary container shapes. Rounded Badges are a popular use case, whereas enlarging to pilled when the counter is growing. You may use a square Badge in order to fit to your layout specs
(e.g. for squared UI design — IBM Carbon design system):
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef38424638a24686677_Badge_09-min.webp)
{{spacer-24}}
Outline stroke
This UI design small hack helps to separate a Badge and make it detached and detectable almost over every background color. Just stroke Badges with the same color as the surface:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef3091585b100d5d504_Badge_10-min.webp)
{{spacer-24}}
Using shadow
By setting a smooth shadow behind Badges (use the same color), you will simulate a tiny and elegant hovering effect:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef31875222115018a15_Badge_11-1-min.webp)
{{spacer-64}}
UX & Use cases
There are several UX patterns where are Badges most commonly used:
- Messaging
- Filtering
- Ecommerce
- Social
- Marketing
- Categorizing
- Tagging
{{spacer-24}}
Messaging
In conversational patterns (Chat, Messages, Inbox) Badge used to inform about new incoming messages. Dot distinctly divides fresh emails and recent:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef34f8bdaeee9926c79_Badge_12-min.webp)
{{spacer-24}}
Filtering
It's user-friendly to overlap a Badge over filtering control when some options were selected before.
Below we see some tooltips on the map. It's clearly distinct — some filtering options were picked affecting on results, and Badge has now appeared at the app corner:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef39ea9c76030fa22f4_Badge_13-min.webp)
{{spacer-24}}
Ecommerce
In most shopping apps Badges are used to display the number of products added to a cart:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef30a9a2f9728ed1621_Badge_14-min.webp)
{{spacer-24}}
Social
Icon-only Badge represents additional properties/statements for the person:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef3652cd2380a42c83a_Badge_15-min.webp)
{{spacer-16}}
Dot-only Badge displays user's status — Is it online, or not:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef3510f4810b2b7525c_Badge_16-min.webp)
{{spacer-24}}
Marketing
There are cases when Badge helps to encourage users to take action or perform a choice commercially valuable.
Here is a Badge placed over segmented control to highlight the necessity to choose yearly payment:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef38b0b2bca74b6fdb5_Badge_17-min.webp)
{{spacer-24}}
Categorizing
Separate content categories by using Badges to label and divide sections making them distinguishable by using different colors:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef32f90de1b843fc69a_Badge_18-min.webp)
{{spacer-16}}
Sometimes Badges are used as tags to highlight special deals:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef3eb9115cab51d89fd_Badge_19.webp)
{{spacer-24}}
Tagging
Implement Badges to display extra properties for a content item, or to visualize the number of parameters the specific item is associated with:
![Badge UI design exploration](https://cdn.prod.website-files.com/64d1f4894b9a964bb3b26df9/651ebef37e58bcc90f7ee438_Badge_20-min.webp)
{{spacer-24}}
{{stars-conclusion}}
{{spacer-24}}
This is all you need to know to design better Badges. Now it's time to visit the homepage of Setproduct, where you'll find a huge number of free and premium UI Kits and design systems.
Also, we specialize in custom design and development. We will be happy to help you with any project: Mobile & Web Apps, Websites, B2B, CRM, Delivery Systems, Online Learning Platforms, and lots more.
You can check our portfolio on many platforms: Dribbble, Twitter, Figma, Reddit, Pinterest, Linkedin. Also, make sure to check the Testimonials of our happy customers.
{{spacer-64}}
Related links
- Badges in Figma React UI kit
- Badges in Chakra-UI
- Badges in MUI
- Badges in Material You (Figma)
- Badges in Appka iOS kit (Figma)