Example plugins for LottieFiles Creator.
These plugins are written using TypeScript. Creator provides TypeScript types for the Plugin API. This means that if you're writing plugin with TypeScript, you'll get helpful code hints, and will be able to catch errors early.
To preview these plugins in Creator, you'll need to compile the code into HTML and JavaScript or create a local development URL. Here's how:
npm installTo compile an HTML plugin:
cd basic-plugin-html
npx tscTo compile a React plugin:
cd basic-plugin-react
npm buildOr create a local development URL for React plugins:
cd basic-plugin-react
npm run dev- Open LottieFiles Creator
- Click Plugins in the left sidebar
- Click Develop → New plugin
- Serve the example folder locally and enter the URL, or zip the distribution files (
manifest.json,plugin.js,ui.html) and upload it
| Example | Description |
|---|---|
| basic-plugin-html | Minimal HTML/JS plugin |
| basic-plugin-react | Minimal React + Vite plugin |
| basic-plugin-react-with-ui-lib | React + Vite plugin using the Creator Plugins UI library and Tailwind |
| Example | Description |
|---|---|
| creating-shapes | Create rectangles, ellipses, polygons, stars, and paths |
| grouping-shapes | Group shapes together |
| styling-nodes | Add fills, gradients, and strokes |
| Example | Description |
|---|---|
| animating-transforms | Animate position, rotation, scale, opacity |
| animating-shape-properties | Animate shape-specific properties |
| animation-easing | Apply easing curves to keyframes |
| updating-animation | Read and modify existing keyframes |
| Example | Description |
|---|---|
| importing-assets | Import Lottie, SVG, and images |
| storing-data | Persist data with clientStorage and node.data |
| network-requests | Fetch data from external APIs |
| Example | Description |
|---|---|
| external-libs-html | Use CDN libraries in HTML plugins |
| external-libs-react | Use npm packages in React plugins |