Components · Badges
Badge
oldThe current app, rendered from the real components with sample data.
packages/ui/src/components · apps/web/components
Status pills outside Badge
oldThe current app, rendered from the real components with sample data.
packages/ui/src/components · apps/web/components
Inconsistencies
oldThe current app, rendered from the real components with sample data.
packages/ui/src/components · apps/web/components
Tier badge
oldThe current app, rendered from the real components with sample data.
apps/web/components · apps/web/features/*/components
Near-duplicates
oldThe current app, rendered from the real components with sample data.
packages/ui/src/components · apps/web/components
Badge
newFive tones in three variants; light is the default. Two sizes, a pill or a 10px corner. Not interactive, so no hover or focus. Warning's orange is a fill or a border, never text.
packages/brand-ui/src/components/badge.tsx
| tone · variant | default · full24px · 12px | with icon14px icon, 6px its side | default · md10px corner | lg · full28px · 14px | lg · md10px corner | lg with icon16px icon, 6px its side |
|---|---|---|---|---|---|---|
| Primary · Purple Frenzylight | Partner | Partner | Partner | Partner | Partner | Partner |
| solid | Partner | Partner | Partner | Partner | Partner | Partner |
| outline | Partner | Partner | Partner | Partner | Partner | Partner |
| Neutral · Anchors Aweigh on Silver Phoenixlight | Software | Software | Software | Software | Software | Software |
| solid | Software | Software | Software | Software | Software | Software |
| outline | Software | Software | Software | Software | Software | Software |
| Warning · Tennessee Orange, text darkenedlight | Pending | Pending | Pending | Pending | Pending | Pending |
| solid | Pending | Pending | Pending | Pending | Pending | Pending |
| outline | Pending | Pending | Pending | Pending | Pending | Pending |
| Destructive · Knockoutlight | Rejected | Rejected | Rejected | Rejected | Rejected | Rejected |
| solid | Rejected | Rejected | Rejected | Rejected | Rejected | Rejected |
| outline | Rejected | Rejected | Rejected | Rejected | Rejected | Rejected |
| Success · Shady Palmlight | Approved | Approved | Approved | Approved | Approved | Approved |
| solid | Approved | Approved | Approved | Approved | Approved | Approved |
| outline | Approved | Approved | Approved | Approved | Approved | Approved |
Tier badge
newA primary light Badge with the vendor’s listing tier; nothing for Basic. Default size on a card, large beside a page title.
Badge (packages/brand-ui/src/components/badge.tsx)
Where the old badges go
newEvery old badge and pill becomes the one Badge.
| Old | New |
|---|---|
TierBadge (Badge · tier) apps/web/features/catalog/components/tier-badge.tsx | Partner primary · light · full; TierBadge keeps choosing the label |
Badge · tag (category, product kind) packages/ui/src/components/badge.tsx | Analytics neutral · light · md, semibold, 24px |
Badge · discount (product card) packages/ui/src/components/badge.tsx | −30% success · light · md |
Badge · discount + text-sm (pricing panel) apps/web/features/catalog/components/pricing-panel.tsx | −30% success · light · md · lg: no className override |
StatusPill (pill) apps/web/features/admin-shell/components/status-pill.tsx | ApprovedPendingRejectedInfo requestedDraft Badge · light · full; ok → success, warn → warning, bad → destructive, accent → primary |
StatusPill · tag (codes left in a pool) apps/web/features/admin-catalog/components/product-table.tsx | 3 left Badge · light · md, in the pool's tone |
“Verified” pill (ad hoc) apps/web/features/dashboard/components/membership-summary.tsx | Verified success · light · full with IconRosetteDiscountCheck |
Count pill in the admin sidebar (ad hoc) apps/web/features/admin-shell/components/admin-nav-link.tsx | 4 warning · solid · full: Tennessee Orange with navy text |