BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/uifoundry/style-utils

Tailwind Style Utils

uifoundry/style-utils
UnverifiedUtility

Tailwind lib/utils file with cn function definition

Install it

npx shadcn@latest add https://raw.githubusercontent.com/UIFoundry/uifoundry/master/style-utils.json

Source

registry/ui/utils.tsraw.githubusercontent.com/UIFoundry/uifoundry/master/style-utils.json
1import { clsx, type ClassValue } from "clsx";
2import { twMerge } from "tailwind-merge";
3
4export function cn(...inputs: ClassValue[]) {
5 return twMerge(clsx(inputs));
6}
7
8export const THEME_COLORS = {
9 background: "background",
10 foreground: "foreground",
11 card: "card",
12 cardForeground: "card-foreground",
13 popover: "popover",
14 popoverForeground: "popover-foreground",
15 primary: "primary",
16 primaryForeground: "primary-foreground",
17 secondary: "secondary",
18 secondaryForeground: "secondary-foreground",
19 muted: "muted",
20 mutedForeground: "muted-foreground",
21 accent: "accent",
22 accentForeground: "accent-foreground",
23 destructive: "destructive",
24 destructiveForeground: "destructive-foreground",
25 border: "border",
26 input: "input",
27 ring: "ring",
28 chart1: "chart-1",
29 chart2: "chart-2",
30 chart3: "chart-3",
31 chart4: "chart-4",
32 chart5: "chart-5",
33 sidebar: "sidebar",
34 sidebarForeground: "sidebar-foreground",
35 sidebarPrimary: "sidebar-primary",
36 sidebarPrimaryForeground: "sidebar-primary-foreground",
37 sidebarAccent: "sidebar-accent",
38 sidebarAccentForeground: "sidebar-accent-foreground",
39 sidebarBorder: "sidebar-border",
40 sidebarRing: "sidebar-ring",
41} as const;

What it pulls in

npm packages

  • clsx
  • tailwind-merge

Files it writes

  • registry/ui/utils.ts

Facts

Registry
uifoundry
Type
registry:lib
Access
Unverified
Files written
1
Licence
NOASSERTION
In the index
at or before 2026-08-12
Last confirmed
3 days ago

Go to the source

uifoundry.dev UIFoundry/uifoundry on GitHub Raw registry item This item as JSON

More from uifoundry

All 54 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Block Constantsblock-constantsuifoundryUtilitiesUnverifiedno deps
Payload Field Typesfield-typesuifoundryUtilitiesUnverified1 dep
Social Iconssocial-iconsuifoundryUtilitiesUnverifiedno deps

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