Domain Rating
by Ahrefs
Domain Rating by Ahrefs39
Description
useAnimations is a library of 300 free animated icons for React, shadcn/ui and Lottie, released under the MIT licence. Each icon comes with the interaction it was designed for, such as looping for loaders, click to toggle between two states like a menu and a close button, click to replay, hover to play forward and back, hover loop and hover replay. You can use an icon as a React component and choose another interaction with a single prop, add icons with the shadcn command, or download them as SVG files and Lottie JSON. The React package has no dependencies, and its player is about 8 kB gzipped, while each icon is its own module of 1 to 15 kB, so a bundle only includes the icons you import. Every icon is a standard Lottie JSON file, so it also plays with lottie-web in plain JavaScript, Vue, Svelte, Angular, or in Lottie players for iOS, Android and Flutter. The SVG files show each icon at rest, which suits emails and design tools. The library is available in English and Simplified Chinese, and the source is on GitHub.…
Highlights
- 300 animated icons with hover, click and loop interactions
- React component with a single interaction prop
- Add icons with shadcn
- SVG and Lottie JSON downloads
- Zero dependencies and small bundle size
Ratings & Reviews
No ratings yet
Be the first to rate UseAnimations.
People also visit
heroicons-animated
An open-source collection of 316 beautifully animated heroicons
UseAnimations FAQ
What is useAnimations?
It is a library of 300 animated icons for React, shadcn/ui and Lottie, made for interfaces that move when people interact with them.
Is it free to use?
Yes. The icons and the react-useanimations package are MIT licensed, so you can use, modify and redistribute them in personal and commercial work. Attribution is appreciated but not required.
Does it work with Next.js?
Yes. The component is marked as a client component and draws the animation in the browser, so it works in server components and frameworks such as Next.js, Remix and Astro.
Can I use the icons without React?
Yes. Each icon is a Lottie JSON file that plays with lottie-web in plain JavaScript, Vue, Svelte, Angular, or in Lottie players for iOS, Android and Flutter.
How big are the icons?
The player is about 8 kB gzipped with no dependencies, and each icon is between 1 and 15 kB, so you only ship the icons you import.
What are the interactions?
Loop, click toggle, click replay, hover, hover loop and hover replay. Each icon ships with the interaction it was designed for.
Which formats can I download?
Each icon can be downloaded as Lottie JSON, SVG or ZIP.
What are the best UseAnimations alternatives?
Popular alternatives to UseAnimations include Animateicons, Shape and Dither Icons. See all UseAnimations alternatives


