HAIKU // NEXTUI

Badge

Minimalist badge for tags and labels in the HAIKU Japanese-inspired light palette.

$npx @voltenworks/shipui add badge --theme haiku
Or install the base component for free:
Live Preview
Open full demo
voltenworks.com/shipui/haiku/demo/components#2-badge
Usage
TSX
<Badge variant="red">Featured</Badge>
Variants
<Badge variant="ink">Collection</Badge>
<Badge variant="red">Featured</Badge>
<Badge variant="parchment">Archive</Badge>
<Badge variant="ghost">Draft</Badge>
Source
TSX
import { cn } from '@/lib/utils'

type BadgeVariant = 'ink' | 'red' | 'parchment' | 'ghost'

interface BadgeProps {
  variant?:   BadgeVariant
  className?: string
  children:   React.ReactNode
}

const VARIANT_CLASSES: Record<BadgeVariant, string> = {
  ink:      'haiku-badge-ink',
  red:      'haiku-badge-red',
  parchment: 'haiku-badge-parchment',
  ghost:    'haiku-badge-ghost',
}

export function Badge({
  variant   = 'ink',
  className,
  children,
}: BadgeProps): React.JSX.Element {
  return (
    <span className={cn('haiku-badge', VARIANT_CLASSES[variant], className)}>
      {children}
    </span>
  )
}
Preview in theme demoGet full theme, $29
Works withNext.js 15React 19Tailwind v4TypeScript 5
More from HAIKU // NEXT
HAIKU // NEXTUI

Button

Japanese-inspired light-mode button with primary, secondary, and ghost variants in three sizes. Renders as a Next.js Link when an href is provided.

HAIKU // NEXTUI

Card

Composable light card with header, body, and footer sub-components in the HAIKU minimal Japanese aesthetic.

HAIKU // NEXTUI

Pullquote

Serene editorial blockquote with a ruled left accent, typographic quote marks, and an optional attribution citation.

HAIKU // NEXTUI

Seal

Circular hanko-style seal displaying a kanji character with an optional label. Available in red and neutral variants at configurable sizes.

HAIKU // NEXTUI

Text

Polymorphic text primitive with body, caption, label, and code variants styled for the HAIKU minimal Japanese light palette.