JSFiddle - React, Tailwind, and code Playground

HTML

<canvas id="test" width="300" height="300"></canvas>

CSS

#test
{
    background-color:powderblue;
}

JavaScript

$(function() {
    var canvas=$('#test')[0];
    var context=canvas.getContext('2d');
    context.beginPath();
    context.fillStyle = '#FFF';
    context.font="20pt Arial";
    context.fillText("अंकुर",100,100);
    context.closePath();
});