Join our Discord Community
Badge/Outline

React Circular Badge with Count

A circular outlined badge displaying numeric counts for notifications, updates, and non-urgent numeric indicators

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Numbers in subtle circles inform without alarming. This React badge uses shadcn/ui's outline variant with rounded-full and custom sizing for notification counts that don't demand urgency. Built with flex centering and zero padding to create perfect circular shape, the outlined count pattern balances visibility with restraint. Perfect for unread counts, pending items, update notifications, or any numeric indicator that informs rather than alerts—the outlined circular badge communicates quantity without creating anxiety like destructive red variants do.

Loading preview...

Pattern created by @haydenbleasel

Installation

npx shadcn@latest add https://www.shadcn.io/registry/badge-outline-5.json
npx shadcn@latest add https://www.shadcn.io/registry/badge-outline-5.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/badge-outline-5.json
bunx shadcn@latest add https://www.shadcn.io/registry/badge-outline-5.json

Questions you might have