Free dark mode toggle switch for React and Tailwind: four styles, follows the system setting and remembers the choice. Copy the code and paste it.
pnpm dlx shadcn@latest add "https://we.inc/r/dark-mode-toggle-switch-in-react-and-tailwind-with-system-setting-and-four-styles.json"