JSFiddle - React, Tailwind, and code Playground

HTML

<svg>
    <path d="M0,0m100,100 h100 v100 h-100 v-100 m200,200 h100 v100 h-100 v-100" fill="red" stroke="black"/>
        <path d="M100,100 m100,100 h-200 v100 m200,200 v-200 h-100 v-100z" fill="blue" stroke="black" fill-rule="evenodd"/>
    <polygon points="100,100 150,100 150,150 100,150 200,200 250,200 250,250 200,250" fill="yellow" opacity="0.5" />
    

</svg>