Badge
Compact status indicators, semantic tags, and identity seals with optional pulsing radar dots. Compatible with standalone tags and Avatar corner badges.
Interactive Badge
Toggle semantic variants, sizes, and radar pulse rings.
badge-playground.tsx
primary
Variant
Size
Semantic Color Variants
Standard color tags for media formats, pricing, and playback state.
semantic-badges.tsx
DefaultPrimarySuccessWarningDangerOutlineLIVE
Presence Indicators & Pulsing Dots
Attach live status dots to any badge with animated radar rings.
indicator-badges.tsx
Live Stream33 RPM DeckSoundcheckRecordingMuted
Identity Seals (Verified, Residents & Architects)
Built-in role seals with vector emblems for artists, engineers, and venue residents.
role-badges.tsx
VerifiedResidentArchitect
Quick Import
Import Badge directly from the root package entry.
Example.tsxtsx
1import { Badge } from "@rekodo/react";2
3export function Example() {4 return (5 <div className="flex items-center gap-2.5">6 <Badge variant="primary">FLAC</Badge>7 <Badge indicator="online" pulse>Live Stream</Badge>8 <Badge role="verified" />9 </div>10 );11}API Reference
Props accepted by this component.
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "default" | "primary" | "success" | "danger" | "warning" | "outline" | "live" | "verified" | "resident" | "architect" | "default" | Semantic color style, live stage indicator, or identity seal variant. |
| size | "sm" | "default" | "lg" | "default" | Controls height, padding, font-size, and icon dimensions. |
| role | "verified" | "resident" | "architect" | undefined | Explicit role seal shortcut with built-in vector emblem. |
| indicator | "online" | "active" | "idle" | "busy" | "error" | "away" | "offline" | undefined | Renders a colored presence dot indicator inside the badge. |
| pulse | boolean | false | Animates an ambient radar pulse ring around the indicator dot. |
| iconOnly | boolean | false | Renders a compact circular emblem without text (auto-enabled when role seal has no children). |