Display and feedback

Badges and status pills, alerts, cards, the spinner, toasts and separators.

Badge

packages/ui/src/components/badge.tsx

3 variants, used in 5 files: tier on product cards, discount on prices, tag for categories.

[Tier 2] and upvariant tier
−25%variant discount
Securityvariant tag (default)

Status pills outside BadgeAd-hoc

Three more pill styles with their own classes instead of a Badge variant.

okwarnbadaccentneutral
apps/web/features/admin-shell/components/status-pill.tsx · 5 tones × pill
okwarnbad
status-pill.tsx · shape tag
1apps/web/features/admin-shell/components/admin-nav-link.tsx · count pill
Verified
apps/web/features/dashboard/components/membership-summary.tsx · “Verified” pill (on the dark membership card)

Alert

packages/ui/src/components/alert.tsx

2 variants. The app uses it in one place: FormError (apps/web/components/form/form-error.tsx), as destructive.

FormError (Alert destructive)
variant default, with title

Card

packages/ui/src/components/card.tsx

Used once, by AuthCard (sign-in, apply, password and 2FA pages). Most boxes in the app are built by hand instead, see below.

Sign in
Use your work email.

Card content

Card + header, title, description, content

Hand-built cardsAd-hoc

rounded-card / rounded-2xl + border-line + bg-paper

The same box, typed out in 21 places with small differences in radius and padding: content-card.tsx, onboarding-card.tsx, admin-panel.tsx, admin-table.tsx, product-card.tsx, pricing-panel.tsx, service-card.tsx, member-rating.tsx, stat-tiles.tsx, membership-summary.tsx, hero-stats.tsx, trust-strip.tsx, cookie-notice.tsx, and the pages webinars, apply, for-vendors, admin newsrooms, products, products/new, vendors and verification.

Box
rounded-card border border-line bg-paper p-5 sm:p-6 (content-card, admin-panel)
Box
rounded-2xl border border-line bg-paper p-6 sm:p-8 (onboarding-card)

Spinner

packages/ui/src/components/spinner.tsx

Used in 10 files: Suspense fallbacks and inside buttons while saving.

Default (size-4)
In a page fallback

Toast

packages/ui/src/components/sonner.tsx · apps/web/components/providers.tsx

Sonner, placed bottom-center, with the icons below. Toasts appear only in the browser after an action (23 calls, e.g. “Report saved: …”), and Sonner injects its own styles at runtime, so none is shown statically.

success icon · CircleCheckIcon
info icon · InfoIcon
warning icon · TriangleAlertIcon
error icon · OctagonXIcon
loading icon · Loader2Icon

SeparatorIn packages/ui, not used

packages/ui/src/components/separator.tsx

No file imports it; dividers in the app are borders (divide-y, border-t).

Separator