dark-mode-nextjs-tailwind Tailwind Templates

Dark Mode Nextjs Tailwind

A dark/light mode toggle created with NextJS and TailwindCSS.

ezgif-5-a8a7a4876f

  • UseTheme hook from next-themes has been used in order to sync with the theme from windows and tabs but also to manually change it by clicking the button. Find more about Next.js dark mode here (https://github.com/pacocoursey/next-themes)

  • TailwindCSS dark mode class has been used in order to manually change the theme in selected areas. Find more about TailwindCSS dark mode (https://tailwindcss.com/docs/dark-mode)

Top categories

Loading Svelte Themes