
#e8e8e8
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<label class="swipe-box"> <input type="checkbox" class="swipe-toggle" /> <div class="swipe-fill"><i></i></div> <div class="swipe-knob"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M17 8h-1V6a4 4 0 0 0-8 0v2H7a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2zm-5 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm3-9H9V6a3 3 0 0 1 6 0v2z" ></path> </svg> </div> <span class="swipe-msg msg-ok">Swipe to confirm</span> <span class="swipe-msg msg-done">Confirmed — You’re a Winner!</span>
CSS
.swipe-box { position: relative; display: inline-block; width: 340px; height: 70px; background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px); border-radius: 50px; box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2), 0 6px 12px rgba(0, 0, 0, 0.1); cursor: pointer;
MIT License