Animated React icons
Import an icon, pick a trigger and it moves. Each component is typed, tree-shakes on its own and stays under 1 KB gzipped.
- Typed props for size, colour, stroke and trigger
- Per-icon imports that tree-shake
- Honours prefers-reduced-motion
- Works with Next.js, Vite and Remix
How it works
Everything below is generated from one set of motion data, so every format moves the same.
Triggers you choose
Icons animate on hover and keyboard focus by default. Switch to click, loop or in-view with one prop, or control playback from a ref when a button press should start the motion.
Accessible by default
Without a label the icon is hidden from screen readers; pass a label when it carries meaning. The motion stops when the visitor prefers reduced motion, with no extra code on your side.
Copy or install
Use the npm package for the whole catalogue, or copy a single component with the CLI. Both give you the same TypeScript props and the same motion.
Read the React for the full steps.
BellIcon.tsx
import { BellIcon } from "@/components/icons/BellIcon";
export function Alerts() {
return <BellIcon size={24} trigger="hover" label="Notifications" />;
}