JSFiddle - React, Tailwind, and code Playground

HTML

<table id="tid">
    <tbody>
    </tbody>
</table>

JavaScript

var input = $('<input />').attr({'class' : 'form-control'})
    var button = $('<button />').attr({'class' : 'btn'});
    var checkbox = input.clone().attr({'type' : 'checkbox', 'name' : 'check'});

   
$("#tid").find('tbody')
    .append($('<tr>').append($('<td>').append(input)       ).append($('<td>').append(button)).append($('<td>').append(checkbox))
  
    );