Make CSS Triangle Shape
$ npm install shape-triimport {tri} from "shape-tri";
tri({
radius: string,
strokeWidth: number | string,
className?: string,
container?: HTMLElement,
fill?: string,
direction?: string,
stroke?: string
});<script src="//daybrush.github.io/shape-tri/release/latest/shapetri.min.js"></script>import {tri} from "shape-tri";
const el = tri({radius: "100px", strokeWidth: "5px"});
document.body.appendChild(el);