NotificationBadge
NotificationBadge Component
Playground
๐
5Props
| Prop | Type | Default | Value |
|---|---|---|---|
| count | number | โ | |
| dot | boolean | โ | |
| max | number | โ | |
| color | selectprimary | error | warning | success | โ | |
| position | selecttop-right | top-left | bottom-right | bottom-left | โ |
Default
๐
5DotOnly
โ๏ธ
MaxCount
99
99+
Positions
1
2
| PROP | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
color | select | โ | Badge color |
count | number | โ | Badge count |
dot | boolean | โ | Dot-only mode |
max | number | โ | Max count before overflow |
position | select | โ | Badge position |
Using NotificationBadgetsx
import { NotificationBadge } from '@/components/NotificationBadge'
<NotificationBadge
count="..."
dot="..."
max="..."
color="..."
position="..."
/>Tokens Used
No design tokens detected