Docs
Confetti Button

Confetti Button

Displays a Confetti button or a component that looks like a button.

Loading...

Installation

Copy and paste the cn util code into your project.

import { ClassValue, clsx } from "clsx"
import { twMerge } from "tailwind-merge"
 
 
export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs))
}
 

Install the following dependencies:

npm install @radix-ui/react-slot

Copy and paste the following code into your project.

If you have already used our Button Component, Please skip this step

Otherwise you need copy the following code

Copy and paste the Button code into your project.