DocsInstallation

Installation

Our components use shadcn-ui's utility styles, so, follow the below steps to install dependencies and structure your app:

Refer to shadcn installation docs

Install shadcn-ui

Installation

Install util dependencies

npm i clsx tailwind-merge

Add util file

lib/utils.ts

import { ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";

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