Hover to play
- Interaction
- Hover replay
- Duration
- 1.13 s
- Artboard
- 32 × 32 px
- Lottie size
- 1.6 kB
Zap
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.
weatherzap
React
npm install react-useanimationsimport UseAnimations from 'react-useanimations';
import zap from 'react-useanimations/lib/zap';
<UseAnimations animation={zap} size={32} />shadcn/ui
npx shadcn@latest add https://useanimations.com/r/zap.jsonimport { AnimatedZap } from '@/components/animations/zap';
<AnimatedZap size={24} />Files
https://useanimations.com/icons/zap.json # Lottie JSON
https://useanimations.com/icons/zap.zip # Lottie JSON + static SVGsThe animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.