Component Blueprints
Badges
- HTML/CSS:Dev Ready
- Web Component:True
- Layout:Responsive
badges
.slds-badge — Badges are labels which hold small amounts of information.
base
.slds-badge — Create badge component
base › Inverse
base › With left icon
base › With right icon
base › Light with left icon
base › Light with right icon
base › Inverse with left icon
base › Inverse with right icon
base › With Child Element
inverse
.slds-badge_inverse — Change badge color to a dark with light text
lightest
.slds-badge_lightest — Change badge color to white with normal text
icon-container
.slds-badge__icon — Adds an icon to badge
icon-inverse
.slds-badge__icon_inverse — Change badge icon fill color to inverse
icon-left
.slds-badge__icon_left — Adds an icon to the left of the badge text
icon-right
.slds-badge__icon_right — Adds an icon to the right of the badge text