Useful for statuses or when you need to attract attention to something.
A badge has the following properties:
badgeLabel
badgeColor
GREY
GREEN
YELLOW
RED
BLUE
For example:
import { uiComponent } from '@team-plain/typescript-sdk'; uiComponent.badge({ label: 'Subscribed', color: 'GREEN' });
Was this page helpful?