WANTED // NEXTUI

Badge

Severity badge with critical, high, medium, and accent variants. Uppercase labels for bounty threat levels and status indicators.

$npx @voltenworks/shipui add badge --theme wanted
Or install the base component for free:
Live Preview
Open full demo
voltenworks.com/shipui/wanted/demo/components#02-badge
Usage
TSX
<Badge variant="critical">Critical</Badge>
Variants
<Badge variant="critical">Critical</Badge>
<Badge variant="high">High</Badge>
<Badge variant="medium">Medium</Badge>
<Badge variant="accent">Accent</Badge>
Source
TSX
import { cn } from '@/lib/utils'

interface BadgeProps {
  children: React.ReactNode
  variant?: 'critical' | 'high' | 'medium' | 'accent'
  className?: string
}

export function Badge({ children, variant = 'accent', className }: BadgeProps): React.JSX.Element {
  return (
    <span
      className={cn(
        'badge',
        variant === 'critical' && 'badge-critical',
        variant === 'high' && 'badge-high',
        variant === 'medium' && 'badge-medium',
        variant === 'accent' && 'badge-accent',
        className,
      )}
    >
      {children}
    </span>
  )
}
Preview in theme demoGet full theme, $29
Works withNext.js 15React 19Tailwind v4TypeScript 5
More from WANTED // NEXT
WANTED // NEXTUI

Button

Western bounty button with primary, secondary, ghost, and secondary-dark variants in three sizes. Gold accent, uppercase Rye display font, parchment textures. Renders as a Next.js Link when an href is provided.

WANTED // NEXTUI

Text

Polymorphic text component with body, caption, label, and code variants. Rye for display headings, Source Serif for body copy, western parchment palette.

WANTED // NEXTUI

Card

Bounty card with tag badge, title, and description. Dark parchment surface with severity-colored badge indicators for vulnerability and threat categories.