JSFiddle - React, Tailwind, and code Playground
HTML
1<input id="teste" disabled></input>
<div id="papercanvas"></div>
JavaScript
// Creates canvas 320 Ă— 200 at 10, 50
var paper = Raphael(document.getElementById("papercanvas"), 320, 200);
var circle = paper.rect(50, 40, 50, 50);
// Sets the fill attribute of the circle to red (#f00)
circle.attr("fill", "#f00");
// Sets the stroke attribute of the circle to white
circle.attr("stroke", "#fff");
var t = paper.text(75, 65,"");