BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/washiveil/code-badge

Code Badge

washiveil/code-badge
FreeComponent

Identifier badge for codes and versions — rounded-md mono, distinct from the taxonomy Chip.

Install it

npx shadcn@latest add https://washiveil.alexchih.com/r/code-badge.json

Source

registry/washiveil/ui/code-badge.tsxwashiveil.alexchih.com/r/code-badge.json
1import { cn } from '@/lib/utils';
2
3// Identifier badge (course codes, cert codes) -- rounded-md, no border.
4// Distinct from Chip (rounded-full pill, bordered) which marks taxonomy.
5
6export type CodeBadgeProps = React.ComponentProps<'span'>;
7
8export function CodeBadge({ className, ...props }: CodeBadgeProps) {
9 return (
10 <span
11 className={cn(
12 'rounded-md bg-ruri/10 px-2 py-1 font-mono text-[0.75rem] font-semibold text-ruri dark:bg-ruri-soft/10 dark:text-ruri-soft',
13 className,
14 )}
15 {...props}
16 />
17 );
18}

What it pulls in

Other registry items

  • https://washiveil.alexchih.com/r/theme.json

Files it writes

  • registry/washiveil/ui/code-badge.tsx

Facts

Registry
washiveil
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-12
Last confirmed
today

Go to the source

washiveil.alexchih.com tochny/washiveil on GitHub Raw registry item This item as JSON

More from washiveil

All 58 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Ambient Fieldambient-fieldwashiveilComponentsFreeno deps
ChipchipwashiveilComponentsFree1 dep
Glass Accordionglass-accordionwashiveilComponentsFree2 deps
Glass Alertglass-alertwashiveilComponentsFree1 dep
Glass Alert Dialogglass-alert-dialogwashiveilComponentsFree1 dep
Glass Aspect Ratioglass-aspect-ratiowashiveilComponentsFree1 dep
Glass Avatarglass-avatarwashiveilComponentsFree1 dep
Glass Breadcrumbglass-breadcrumbwashiveilComponentsFree2 deps
BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

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.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

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.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

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.

BlockDex