JSFiddle - React, Tailwind, and code Playground

HTML

<canvas width="200" height="200"></canvas>

JavaScript

var ctx = document.querySelector('canvas').getContext('2d');
ctx.strokeText('Hello', 10, 10);