Skip to content

cn ​

Helper clsx + tailwind-merge.

ts
import { cn } from "@minap/ui";

Sample ​

TSX
import { cn } from "@minap/ui";
cn("px-2", condition && "bg-muted");

Props / API ​

Prop / APITypeDefaultNotes
…inputsClassValue[]—Giá trị falsy bị bỏ

Behavior ​

  • Không UI — sample minh họa cách dùng
  • Category: utilities
  • Catalog gallery: /catalog/utilities

MINAP UI · SoT docs/ (VI + thuật ngữ EN)