Skip to content
Hover to play
Interaction
Hover replay
Duration
1.13 s
Artboard
32 × 32 px
Lottie size
1.8 kB

Pie Chart

Plays once on mouseenter unless reduced motion is preferred. Leaving does not stop it; entering during playback does not restart it. Free under the MIT license.

chartchartspiepie-chart

React

npm install react-useanimations
import UseAnimations from 'react-useanimations';
import pieChart from 'react-useanimations/lib/pieChart';

<UseAnimations animation={pieChart} size={32} />

shadcn/ui

npx shadcn@latest add https://useanimations.com/r/pie-chart.json
import { AnimatedPieChart } from '@/components/animations/pie-chart';

<AnimatedPieChart size={24} />

Files

https://useanimations.com/icons/pie-chart.json  # Lottie JSON
https://useanimations.com/icons/pie-chart.zip   # Lottie JSON + static SVGs

The animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.

Static SVG

pie-chart.svg