JSFiddle - React, Tailwind, and code Playground HTML <input type="text" id="test" maxlenght="10"> JavaScript $("#test").datepicker();