brijr/ui

Lab

Badge

npx shadcn@latest add @brijr/badge

Variants

Badgedefault
Badgesecondary
Badgedestructive
Badgeoutline
Badgeghost
Badgelink

With icon

Verifieddefault · start
Verifiedsecondary · start
Verifieddestructive · start
Verifiedoutline · start
Verifiedghost · start
Verifiedlink · start
Docsdefault · end
Docssecondary · end
Docsdestructive · end
Docsoutline · end
Docsghost · end
Docslink · end
Syncingspinner · start
icon only

As link

render={<a />}. Hover each one; tab to see the focus ring.

Changelogdefault
Changelogsecondary
Changelogdestructive
Changelogoutline

aria-invalid

Expireddefault
Expiredsecondary
Expireddestructive
Expiredoutline
Expiredghost
Expiredlink
Fixoutline · render={<a />}

Content

8single digit
3single digit · destructive
42two digits
99+99+
1,204tabular-nums
Waiting for approval from the finance teamlong text
Waiting for approval from the finance teamlong text · max-w-40 · span

Inline

Billing

Beta
next to a heading

Version 2.4.0 is now available.

in a sentence
reacttypescripttailwinda11y
group