Hover to play, leave to reverse
- Interaction
- Hover
- Duration
- 0.67 s
- Artboard
- 32 × 32 px
- Lottie size
- 4.2 kB
Plays forward on mouseenter and backward on mouseleave. Free under the MIT license.
contentemailenvelopemailmessage
React
npm install react-useanimationsimport UseAnimations from 'react-useanimations';
import mail from 'react-useanimations/lib/mail';
<UseAnimations animation={mail} size={32} />shadcn/ui
npx shadcn@latest add https://useanimations.com/r/mail.jsonimport { AnimatedMail } from '@/components/animations/mail';
<AnimatedMail size={24} />Files
https://useanimations.com/icons/mail.json # Lottie JSON
https://useanimations.com/icons/mail.zip # Lottie JSON + static SVGsThe animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.