This is a Tailwind CSS Switch to Darkmode by Huda Damar.
Component details