shadimage
quiz-ui
libquiz-cnsource: ok · refreshed

quiz-ui className helper

className composition helper (clsx + tailwind-merge) used by every quiz-ui component.

npx shadcn add "https://quiz-ui-phi.vercel.app/r/quiz-cn.json"
free

No selection tags yet — empty means no evidence, not lack of support.

Dependencies

Bundle weight · light
clsxtailwind-merge

Files1 · source cached 10/8/2026, 7:43:17 AM

lib/utils.ts
import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs));
}

More from quiz-ui

Browse all components in this library →