JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/snap.svg/0.5.1/snap.svg-min.js"></script>
 <button onclick="lancer()">Lancer</button>

JavaScript

var s = Snap(800, 600)
function lancer() {
  var ellipse = s.ellipse(200, 150, 100, 150).attr({
    fill: 'Navy'
  })
	ellipse.animate({ry:100}, 1000)
}