css-matrix Example import { CSSMatrix } from 'css-matrix'; const transform = new CSSMatrix() .translate(100, 200) .rotate(45) .toTransform();