animateicons README

The project's README from github.com/Avijit07x/animateicons. As one markdown file: README.md.

AnimateIcons. Make every icon move. 1,500+ animated icons for React, Vue, Angular and plain JavaScript.

Browse icons   ·   Docs   ·   MCP   ·   Sponsor

npm GitHub stars Contributors Last commit License MIT Vercel OSS Program


1,500 free, open source animated icons for React, Vue, Angular and plain JavaScript. Every animation is hand-crafted and tuned to feel smooth, and plays the same in every framework.

Hover and imperative triggers, with configurable size, color and duration. Built on motion.

Quick start

pnpm add @animateicons/react
import { BellRingIcon } from "@animateicons/react/lucide";

export function Notifications() {
	return <BellRingIcon size={24} color="#f45b48" />;
}

Icons animate on hover by default, and motion is bundled. Import from @animateicons/react/lucide or @animateicons/react/huge.

Prefer to own the code? Copy one icon into your project with npx animateicons add bell-ring.

Other frameworks

The same icons and the same motion ship for more than React:

Framework Package Docs
Plain JS, web components, Svelte, Solid, Astro @animateicons/vanilla Plain JS
Vue 3 and Nuxt @animateicons/vue Vue
Angular 20, 21 and 22 @animateicons/angular Angular

Props

Prop Type Default
size number 24
color string currentColor
duration number 1
isAnimated boolean true
className string -

Hover, click or both

[!TIP] Use useIconHover to play an icon when a user hovers or clicks the button, link or card around it.

"use client";
import { useIconHover } from "@animateicons/react";
import { BellRingIcon } from "@animateicons/react/lucide";

export default function Bell() {
	const { ref, triggerProps } = useIconHover(); // hover (default)

	return (
		<button {...triggerProps}>
			<BellRingIcon ref={ref} size={28} />
		</button>
	);
}

See the full docs for click, both and multiple icons.

Documentation

Topic What it covers Docs
React Props, Next.js, Server Components and types React
Examples Hover helper, buttons, inputs, cards and menus Examples
shadcn Add icons with the shadcn CLI shadcn
CLI Copy icons into your project with npx animateicons CLI
MCP Let AI agents search and add icons MCP

Start with the introduction for everything else.

Contributing

PRs adding icons are welcome. See CONTRIBUTING.md.

License

MIT. Icon shapes are based on Lucide and Hugeicons, see the third-party notices.

animateicons (Avijit07x/animateicons)

npm-package
Searching Database…

What is this?Animateicons is a library of 1,500+ animated SVG icons for web apps, built on the motion animation library, with hover and imperative (click) triggers and configurable size, color and duration.
Is this a React-only icon library, or does it support other frameworks too?It ships separate packages per framework: @animateicons/react for React, @animateicons/vue for Vue 3/Nuxt, @animateicons/angular for Angular 20-22, and @animateicons/vanilla for plain JS, web components, Svelte, Solid and Astro.
How do I add an icon to my project?Install the package for your framework and import an icon, e.g. from '@animateicons/react/lucide' or '@animateicons/react/huge', or run 'npx animateicons add bell-ring' to copy a single icon's code straight into your project.
Do I need to install Framer Motion separately?No, the motion library used for the animations is bundled with the package, so you don't need to add it yourself.
Do I have to use the CLI, or can I just import ready-made components?Both options exist: import icon components straight from the package, or use the 'npx animateicons add' CLI if you'd rather own the raw code in your own project.
Can icons be triggered by click as well as hover?Yes, the useIconHover hook can play an icon on hover, click, or both, and the docs cover handling multiple icons together.
Can I customize icon size, color and animation speed?Each icon accepts size, color and duration props (defaulting to 24, currentColor, and 1) plus an isAnimated flag to turn animation off entirely.
What is the MCP link in the README for?It points to an MCP server so AI coding agents can browse and work with the icon set directly, alongside the docs and icon browser.
Is there shadcn-style tooling for this?The full documentation covers using animateicons with shadcn, in addition to the CLI, styling options and API reference.
Creator
Avijit07x
Size
30.4 MB
Stars
1.6K
Updated
CommitNov 11
Age
1y
Commits · 90 Days