Skip to Content
Skip to content

Badge

Neumorphic badge with the stock shadcn variant set. A small raised chip; secondary carves in, outline sits flat with a muted border.

DefaultSecondaryDestructiveOutlineGhostLink

Installation

bunx --bun shadcn@latest add https://neu.beyondtheinnovation.com/r/neu-badge.json

Usage

import { Badge } from "@/components/ui/neu/badge"
<Badge>Badge</Badge>

As Child

Use asChild to render a link with the badge's styles. Outline and ghost tint on hover when the badge is a link.

<Badge asChild variant="outline">
  <a href="/changelog">New</a>
</Badge>

On this page