A
Anonymous

Switch - Copy this React, Tailwind Component to your project

Make it compatible with <input type="checkbox" checked={formData.accidentFree} onChange={(e) => handleInputChange("accidentFree", e.target.checked)} className="form-checkbox h-5 w-5 text-mainColor" />

Prompt
Component Preview

About

Switch - A sleek, animated yes/no toggle for forms, professionally built with React and Tailwind. Lightweight, modern design without text. Get free template!

Share

Last updated 1 month ago