BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/washiveil/chip

Chip

washiveil/chip
FreeComponent

Taxonomy pill in the tri-color hues (ruri / korozen / sumire) plus a neutral glass register.

Install it

npx shadcn@latest add https://washiveil.alexchih.com/r/chip.json

Source

registry/washiveil/ui/chip.tsxwashiveil.alexchih.com/r/chip.json
1import { Slot } from 'radix-ui';
2
3import { cn } from '@/lib/utils';
4
5const hues = {
6 ruri: 'border-ruri/25 bg-ruri/10 text-ruri dark:border-ruri-soft/25 dark:bg-ruri-soft/10 dark:text-ruri-soft',
7 korozen:
8 'border-korozen/25 bg-korozen/5 text-korozen-deep dark:border-korozen-soft/25 dark:bg-korozen-soft/10 dark:text-korozen-soft',
9 sumire:
10 'border-sumire/25 bg-sumire/5 text-sumire-deep dark:border-sumire-soft/25 dark:bg-sumire-soft/10 dark:text-sumire-soft',
11 neutral: 'border-glass-edge bg-glass text-muted-foreground backdrop-blur',
12} as const;
13
14export type ChipHue = keyof typeof hues;
15
16export interface ChipProps extends React.HTMLAttributes<HTMLSpanElement> {
17 hue?: ChipHue;
18 asChild?: boolean;
19}
20
21export function Chip({ hue = 'ruri', asChild, className, children, ...props }: ChipProps) {
22 const Comp = asChild ? Slot.Root : 'span';
23 return (
24 <Comp
25 className={cn(
26 'inline-block rounded-full border px-2.5 py-0.5 font-mono text-[0.75rem] tracking-[0.2em] uppercase',
27 hues[hue],
28 className,
29 )}
30 {...props}
31 >
32 {children}
33 </Comp>
34 );
35}

What it pulls in

npm packages

  • radix-ui

Other registry items

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

Files it writes

  • registry/washiveil/ui/chip.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
Code Badgecode-badgewashiveilComponentsFreeno deps
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