JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://svg.dabbles.info/velocity.js"></script>
<svg>
<rect id="rect1" x="100" y="100" width="100" height="100"/>
</svg>
CSS
rect {
transform-origin: 100% 100%;
}
JavaScript
Velocity( document.getElementById('rect1'), { rotateZ: '360deg' }, 5000 );