Badges
Small status indicators, labels, notification counts, and dot indicators with 8 colors and multiple styles.
Solid Badges
Primary
Secondary
Success
Danger
Warning
Info
Dark
Light
Soft Badges
Primary
Secondary
Success
Danger
Warning
Info
Dark
Light
Outline Badges
Primary
Secondary
Success
Danger
Warning
Info
Dark
Light
Sizes
Add .lp-badge--sm or .lp-badge--lg for size variants.
Small
Default
Large
Small
Default
Large
Pill Badges
Badges are pill-shaped by default. Add .lp-badge--pill if you need to ensure it explicitly.
Primary
Success
Soft Danger
Outline Info
Badges with Icons
check Verified
close Rejected
schedule Pending
fiber_new New
star Featured
Dot Indicators
Add .lp-badge--dot for a small circular dot indicator.
Pulse Animation
Add .lp-badge--pulse for an animated pulse effect. Great for drawing attention.
Live
Online
Status Badges
Use .lp-status-badge for text labels with a colored dot indicator.
Online
Away
Busy
Offline
Unknown
Count Badges
Use .lp-badge-count for notification counts. Wrap with .lp-badge-wrapper to position on icons.
notifications
3
mail
12
shopping_cart
5
99+
Small count + dot on wrapper
chat
2
person
Badge Positioning
Position badges in any corner using .lp-badge-wrapper--{position}.
3
5
CSS Class Reference
Base
| Class | Description |
|---|---|
.lp-badge |
Base badge class |
Color Variants (8 colors × 3 styles)
| Class | Description |
|---|---|
.lp-badge--{color} |
Solid — primary, secondary, success, danger, warning, info, dark, light |
.lp-badge--soft-{color} |
Subtle tinted background |
.lp-badge--outline-{color} |
Bordered, transparent background |
Sizes
| Class | Description |
|---|---|
.lp-badge--sm |
Small badge |
(default) |
No class needed |
.lp-badge--lg |
Large badge |
Shapes & Effects
| Class | Description |
|---|---|
.lp-badge--pill |
Fully rounded (default is already rounded) |
.lp-badge--dot |
Small circular dot indicator |
.lp-badge--pulse |
Animated pulse effect |
Count Badge
| Class | Description |
|---|---|
.lp-badge-count |
Notification count (default: danger red) |
.lp-badge-count--{color} |
Count in primary, success, warning, info, secondary |
.lp-badge-count--sm |
Smaller count badge |
Wrapper & Positioning
| Class | Description |
|---|---|
.lp-badge-wrapper |
Container for positioning badges on elements |
.lp-badge-wrapper--top-right |
Position badge top-right |
.lp-badge-wrapper--top-left |
Position badge top-left |
.lp-badge-wrapper--bottom-right |
Position badge bottom-right |
.lp-badge-wrapper--bottom-left |
Position badge bottom-left |
Status Badge
| Class | Description |
|---|---|
.lp-status-badge |
Text label with colored dot indicator |
.lp-status-badge--online |
Green dot (online) |
.lp-status-badge--away |
Yellow dot (away) |
.lp-status-badge--busy |
Red dot (busy) |
.lp-status-badge--offline |
Gray dot (offline) |