UNPKG

@arolariu/components

Version:

🎨 60+ beautiful, accessible React components built on Radix UI. TypeScript-first, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡

11 lines (9 loc) • 271 B
import { clsx, type ClassValue } from "clsx"; import { twMerge } from "tailwind-merge"; /** * Helper function that merges tailwindcss * class names in the given input array. */ export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)); }