Class name merger built on cn. Used by every foldcn component.

Dependencies:cn

Installation

Add this component to your project:

pnpm dlx shadcn@latest add @foldcn/utils

Source

The component ships as plain source — no build step, no wrapper. Copy it and make it yours.

registry/default/lib/utils.ts2 lines
export { cn } from 'cn'