Next-Toggle is just a simple plug and use, theme toggle button with multiple light and dark themes for web projects using next-themes.
https://modsetter.github.io/next-toggle/
Next-Toggle uses next-themes - useTheme
hook + Background Snippets from : https://github.com/ibelick/background-snippets to apply multiple themes.
You can just copy my whole next-toggle component from @components/next-toggle
and use it in your project.
Please give it a Github star to support. ๐
- Easiest way to contribute is to add more background snippets. Go make some great theme combos.
- Add more
ThemeToggler
components using different UI libraries, might help other guys. - If you make any QOL improvement don't be shy to raise PR.
- My theme-toggler component
@components/next-toggle/theme-toggler
uses Shadcn components. You can make your component with any UI library of your liking.