tsimport {XDSBadge} from '@xds/core/Badge'
| Guidance | Practices |
|---|---|
| Do | Use success, warning, and error variants for system status like "Active", "Pending", or "Failed". Use color variants like blue, purple, or teal for categories and tags. |
| Do | Keep labels to one or two words. If you need more detail, put it in surrounding text instead of the badge. |
| Do | Add an icon when it helps identify the badge type quickly, but always include a text label alongside it. |
| Don't | Make badges clickable — they are read-only indicators. Use a button or link if the user needs to take action. |