JSFiddle - React, Tailwind, and code Playground

HTML

<input type='checkbox'>Oi
    <input type='checkbox'>Oi
        <input type='checkbox'>Oi
            <input type='checkbox'>Oi
                <input type='checkbox'>Oi
                    
                    <a href="#" class='desmarcar'>Desmarcar</a>

JavaScript

$(document).ready(function(){
    
    $('.desmarcar').click(function(){
        $("input[type='checkbox']").each(function(){
            this.checked = false;
        });
    });
    
});