BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/delego/status-badge

Status Badge

delego/status-badge
FreeComponent

Mono pill with leading icon + status color. Variants: allow, approval, deny, indigo (principal/audit), neutral.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/Delego-Dev/registry/main/public/r/status-badge.json

Source

registry/delego/ui/status-badge.tsxraw.githubusercontent.com/Delego-Dev/registry/main/public/r/status-badge.json
1import * as React from "react"
2import { Slot } from "@radix-ui/react-slot"
3import { cva, type VariantProps } from "class-variance-authority"
4
5import { cn } from "@/lib/utils"
6
7// Status badge — the design-system pill: mono label + leading icon + status color.
8// Variants mirror the protocol vocabulary (decision outcomes + principal/audit tags).
9// Soft fills are derived from the semantic var via color-mix so they track the theme.
10const statusBadgeVariants = cva(
11 "inline-flex items-center gap-1.5 rounded-full border py-[5px] pl-[9px] pr-[11px] font-mono text-xs font-medium [&_svg]:size-[13px] [&_svg]:shrink-0",
12 {
13 variants: {
14 variant: {
15 allow:
16 "text-[var(--delego-allow)] border-[color-mix(in_oklch,var(--delego-allow)_32%,transparent)] bg-[color-mix(in_oklch,var(--delego-allow)_10%,transparent)]",
17 approval:
18 "text-[var(--delego-approval)] border-[color-mix(in_oklch,var(--delego-approval)_32%,transparent)] bg-[color-mix(in_oklch,var(--delego-approval)_10%,transparent)]",
19 deny: "text-[var(--delego-deny)] border-[color-mix(in_oklch,var(--delego-deny)_32%,transparent)] bg-[color-mix(in_oklch,var(--delego-deny)_10%,transparent)]",
20 indigo:
21 "text-[var(--delego-indigo)] border-[color-mix(in_oklch,var(--delego-indigo)_34%,transparent)] bg-[color-mix(in_oklch,var(--delego-indigo)_12%,transparent)]",
22 neutral: "text-foreground/80 border-border bg-card",
23 },
24 },
25 defaultVariants: {
26 variant: "neutral",
27 },
28 }
29)
30
31function StatusBadge({
32 className,
33 variant,
34 asChild = false,
35 ...props
36}: React.ComponentProps<"span"> &
37 VariantProps<typeof statusBadgeVariants> & {
38 asChild?: boolean
39 }) {
40 const Comp = asChild ? Slot : "span"
41 return (
42 <Comp
43 data-slot="status-badge"
44 className={cn(statusBadgeVariants({ variant, className }))}
45 {...props}
46 />
47 )
48}
49
50export { StatusBadge, statusBadgeVariants }

What it pulls in

npm packages

  • class-variance-authority
  • @radix-ui/react-slot

Other registry items

  • https://raw.githubusercontent.com/Delego-Dev/registry/main/public/r/delego-theme.json

Files it writes

  • registry/delego/ui/status-badge.tsx

Facts

Registry
delego
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-13
Last confirmed
today

Go to the source

delegohq.com Delego-Dev/registry on GitHub Raw registry item This item as JSON

More from delego

All 6 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
ButtonbuttondelegoComponentsFree2 deps
Decision Pilldecision-pilldelegoComponentsFree1 dep
FieldfielddelegoComponentsFreeno deps
Signed Receiptsigned-receiptdelegoComponentsFree1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex