
#e8e8e8
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<label class="w-16 h-8 bg-black shadow-inner rounded-full flex justify-around items-center overflow-hidden outline outline-2 outline-offset-2" > <input type="checkbox" class="peer hidden" /> <div class="w-6 h-6 flex justify-center items-center text-white bg-black border-[2px] duration-500 rounded-full peer-checked:-translate-x-8" ></div> <div class="w-6 h-6 flex justify-center items-center text-white duration-500 rounded-full translate-x-8 peer-checked:translate-x-0 rotate-90" > 𝝞 </div>