JSFiddle - React, Tailwind, and code Playground HTML <input type="text" id="dp1"> JavaScript $(function() { $("#dp1").datepicker(); });