Theme Switcher
Toggle between system, light, and dark themes in Next.js apps.
- Dependencies (3)
Installation
pnpm dlx shadcn@latest add @abushaidislam/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.
Every component here is built and maintained by one person. If you enjoy using them, you can sponsor my work.