Foundations

Badge

Compact status and count labels.

npx shadcn-svelte@latest add http://localhost:5173/r/badge.json

Variants

Status colors are tinted, not solid, so a row of badges stays calm.

light
DefaultSecondaryOutlineDestructiveSuccessWarning
dark
DefaultSecondaryOutlineDestructiveSuccessWarning

With icons and numbers

light
Paid Pending Overdue 12 1,024 v2.4.0
dark
Paid Pending Overdue 12 1,024 v2.4.0

As links

With href they render anchors and gain a hover state.