You need to enable JavaScript to run this app.
AntD Library
Docs
Components
Resources
Sardor Tursunboyev
Buttons
Inputs
Dropdown
Carousel
Badge
Tooltip
Progress
Checkbox
Switch
Alert
Table
Menu
Steps
Calendar
Maps
Charts
Forms
DatePicker
Transfer
Upload
Avatar
Card
Collapse
Image
Pagination
Popover
Tabs
Drawer
Modal
Notification
PopConfirm
Result
Spinner
Badge
Small numerical value or status descriptor for UI elements.
When To Use
Badge normally appears in proximity to notifications or user avatars with eye-catching appeal, typically displaying unread messages count.
0
9
99+
Basic badge
Simplest Usage. Badge will be hidden when count is 0, but we can use showZero to show it.
Basic badge
Simplest Usage. Badge will be hidden when count is 0, but we can use showZero to show it.
0
88
99+
Stand Alone
Simplest Usage. Badge will be hidden when count is 0, but we can use showZero to show it.
5
-
+
98
-
+
Stand Alone
Simplest Usage. Badge will be hidden when count is 0, but we can use showZero to show it.
bgColor Props
standalone prop is when you want to render only the badge without any other element.
StandAlone Dot Sizes
standalone prop is when you want to render only the badge without any other element.
processing
success
warning
default
error
type
success, warning, processing, error, default types