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