Skip to main content

@remotion/paths

import {TableOfContents} from '../../components/TableOfContents/paths';

A package providing utility functions for dealing with SVG paths. This package includes code from svg-path-properties, svg-path-reverse, svgpath, svg-path-bbox, translate-svg-path and d3-interpolate-path with the following improvements:

  • Functional style APIs
  • First class Typescript types
  • Documentation with examples
  • ESM import style

This package has no dependencies, meaning this package can be used without Remotion.

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

<Tabs defaultValue="npm" values={[ { label: 'npm', value: 'npm', }, { label: 'pnpm', value: 'pnpm', }, { label: 'yarn', value: 'yarn', }, ] }>

bash
npm i @remotion/paths
bash
npm i @remotion/paths
bash
pnpm i @remotion/paths
bash
pnpm i @remotion/paths
bash
yarn add @remotion/paths
bash
yarn add @remotion/paths

Functions

License

MIT