JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://rawgit.com/liabru/matter-js/master/build/matter-0.8.0.min.js"></script>

    <body>
    	<script src="matter-0.8.0.js"></script>
    	
    	<script>
    	 var engine = Matter.Engine.create(document.body);
    	 var object = Matter.Body.create( 
    		 { 
    			 vertices: [ { x: 300, y: 300 }, { x: 200, y: 300 }, { x: 350, y: 200 } ],
    			 isStatic: true
    		 });
    	 
    	 // add all of the bodies to the world
    	 Matter.World.add(engine.world, [object]);
    	 
    	 // run the engine
    	 Matter.Engine.run(engine);
    	</script>
    </body>