Join our Discord Community
Badge/Outline

React Badge with Link

A clickable outlined badge with link for navigating to tag pages, category filters, or metadata details

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Outlined badges that go somewhere turn passive labels into navigation. This React badge wraps a link in shadcn/ui's outline variant for clickable tags and categories. Built with hover underline for affordance, the linked outline badge invites exploration without the visual weight of filled badges. Perfect for tag clouds linking to filtered views, category badges linking to taxonomy pages, metadata labels linking to detail views, or any secondary navigation where subtlety matters—makes information explorable instead of just displayable.

Loading preview...

Pattern created by @haydenbleasel

Installation

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

Questions you might have