Badge

Short status, labels and counts. Includes the GoodUnited status set with its own icons and the intent score badge.

Figma: 10 / Components / Badge
ActiveDraft12

Usage

Source: src/components/ui/badge.tsx
import { Badge, BadgeStatus, ScoreBadge } from '@/components/ui/badge'
<BadgeStatus status='active' />

Status

Every GoodUnited domain status with its label and original icon.
DraftActiveApprovedInactiveNo budget

Variants and shapes

success, info and secondary, in the soft (4px) or pill shape.
BetaFundraiser PageContentApproved

Score

A supporter intent score.
87

When to use

When to reach for it, and when to use something else.

Use it for

Complete: BadgeStatus for tools, journeys and pages so a status always reads the same.
Complete: secondary for neutral counts beside a title.
Complete: success for Beta labels in navigation.

Avoid

Not complete: Badges as buttons. They are not interactive.
Not complete: Sentences inside a badge; keep it to one or two words.
Not complete: New status colors outside Colors/status.

Badge

PropTypeDefaultDescription
variant'success' | 'info' | 'secondary''secondary'Status color family.
shape'soft' | 'pill''soft'4px corners for labels and counts, pill for status.

BadgeStatus

PropTypeDefaultDescription
status'draft' | 'active' | 'approved' | 'inactive' | 'no-budget'–The domain status. Sets the label, icon and color.
labelstring–Overrides the default label.

ScoreBadge

PropTypeDefaultDescription
valuenumber | string–The intent score.

GoodUnited design system. The Figma file is the source of truth for every color, type size and component.

Made with Modulify