Theme Switch Slider with Next-Themes
Source Theme Switch Slider with Next-Themes
The sliding theme switch connected to next-themes. Use it in apps already using ThemeProvider to avoid repeating theme reads and setTheme wiring around the visual switch. Use the framework-independent theme switch when another system owns the theme.