JSFiddle - React, Tailwind, and code Playground

JavaScript

$(document.body).append($('<input>', {
  'type' : 'text',
  'Size' : '50',
  'autofocus' : 'true'
}))