JSFiddle - React, Tailwind, and code Playground

by Sahin Deniz

HTML

<svg width="400px" height="300px">
  <text x="20" y="40">test text</text>
  <text x="20" y="80" transform="rotate(10,20,55)">test with transform</text>
  
  <g transform="translate(0,100) rotate(-10,20,60) ">
    <text x="20" y="60">test with nested transform</text>
  </g>
</svg>
<svg width="20" height="440">
  <path d="M100,100 h200 a20,20 0 0 1 20,20 v200 a20,20 0 0 1 -20,20 h-200 a20,20 0 0 1 -20,-20 v-200 a20,20 0 0 1 20,-20 z" fill="none" stroke="black" stroke-width="3" />
</svg>