Flash UI

A theme switcher button.

Animated theme switcher button with just tailwind css.

Theme Switcher

Installation

1

Add the cn util file to your project
import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";

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

2

Install the required packages
npm install

3

Run the project
npm run dev
Flash UICopyright © 2024 Flash UI. All Rights Reserved.