Theme Switcher
Toggle between system, light, and dark themes in Next.js apps.
- Dependencies (3)
Installation
pnpm dlx shadcn@latest add @ncdai/theme-switcher
Usage
import { ThemeSwitcher } from "@/components/theme-switcher"<ThemeSwitcher />References
License and usage
- Free to use and modify in both personal and commercial projects.
- Attribution is appreciated but not required.
- Released under the MIT License.