Skip to content
Click to toggle
Interaction
Click toggle
Duration
1.00 s
Artboard
32 × 32 px
Lottie size
4.2 kB

Volume

Toggles between two states on click, or switches immediately when reduced motion is preferred. Free under the MIT license.

audiomediamutesoundspeakervolumevolume-1volume-2volume-x

React

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

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

shadcn/ui

npx shadcn@latest add https://useanimations.com/r/volume.json
import { AnimatedVolume } from '@/components/animations/volume';

<AnimatedVolume size={24} />

Files

https://useanimations.com/icons/volume.json  # Lottie JSON
https://useanimations.com/icons/volume.zip   # Lottie JSON + static SVGs

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

Static SVG

volume-1.svg
volume-2.svg
volume-x.svg
volume.svg