Theme Switcher
A theme switcher component for Next.js apps with next-themes and Tailwind CSS, supporting system, light, and dark modes.
Installation
pnpm dlx shadcn@latest add @ncdai/theme-switcher
Usage
import { ThemeSwitcher } from "@/components/theme-switcher";
<ThemeSwitcher />