@remotion/shapes
A package providing utility functions for generate SVG shapes.
- npm
- pnpm
- yarn
bash
npm i @remotion/shapes
bash
npm i @remotion/shapes
bash
pnpm i @remotion/shapes
bash
pnpm i @remotion/shapes
bash
yarn add @remotion/shapes
bash
yarn add @remotion/shapes
Functions
makeRect()
Generate SVG Path for a rect
<Rect/>
Render a rect
makeCircle()
Generate SVG Path for a circle
<Circle/>
Render a circle
makePie()
Generate SVG Path for a pie
<Pie/>
Render a pie
makeEllipse()
Generate SVG Path for a ellipse
<Ellipse/>
Render a ellipse
makeTriangle()
Generate SVG Path for a triangle
<Triangle/>
Render a triangle
makeStar()
Generate SVG Path for a star
<Star/>
Render a star
makePolygon()
Generate SVG Path for a polygon
<Polygon/>
Render a polygon
License
MIT