npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

aliveicon

v1.0.32

Published

This is a animated icons library

Readme

aliveicon

Beautiful, animated line icons — they draw themselves on hover, click, or page load.

aliveicon is a collection of 515+ ready-to-use animated SVG icons for React. Every icon is a real component that "draws" its stroke with a smooth path animation powered by Framer Motion. Drop one into your app and it comes alive on hover, on click, or as soon as it mounts — no extra wiring required.


✨ Features

  • 🎬 Animated out of the box — icons draw their outlines using Framer Motion path animations.
  • 🖱️ Trigger however you like — animate on hover, on click, on mount, or loop continuously.
  • 🎨 Inherits your color — icons use currentColor, so they match your text color automatically.
  • 📏 Resizable — set any pixel size with a single size prop.
  • 🌳 Tree-shakeable ESM + CJS builds — import only the icons you use.
  • 🔠 TypeScript first — full type definitions and IntelliSense for every prop.
  • ⚛️ React 18+, Javsacript & Next.js ready — components are marked 'use client' and work in the App Router.

📦 Installation

npm install aliveicon
# or with your package manager of choice
yarn add aliveicon
pnpm add aliveicon
bun add aliveicon

Peer dependencies

aliveicon relies on the following packages already being installed in your project:

| Package | Version | | ------- | ------- | | react | >=18.0.0 | | react-dom | >=18.0.0 | | framer-motion | >=10.0.0 |

npm install react react-dom framer-motion

🚀 Quick start

import { Activity, BellRing, Rocket } from 'aliveicon';

export default function App() {
  return (
    <div style={{ display: 'flex', gap: 16, color: '#6366f1' }}>
      {/* Animates on hover by default */}
      <Activity size={32} />

      {/* Keeps looping while hovered */}
      <BellRing size={32} loopOnHover />

      {/* Plays the animation when clicked */}
      <Rocket size={32} animateOnClick />
    </div>
  );
}

That's it. By default an icon plays its animation whenever the user hovers over it.


🎛️ Props

Every icon shares the same API. All props are optional, and any extra props (onClick, aria-label, id, …) are forwarded to the wrapping <div>.

| Prop | Type | Default | Description | | ---- | ---- | ------- | ----------- | | size | number | 28 | Width and height of the icon, in pixels. | | hoverable | boolean | true | Play the animation when the user hovers over the icon. | | loopOnHover | boolean | false | Keep replaying the animation for as long as the icon is hovered. | | animateOnClick | boolean | false | Play the animation when the icon is clicked. | | autoAnimateOnLoad | boolean | false | Play the animation once, automatically, when the component mounts. | | className | string | — | Extra classes merged onto the wrapper (deduped via tailwind-merge). | | style | React.CSSProperties | — | Inline styles applied to the wrapper element. | | ...props | React.HTMLAttributes<HTMLDivElement> | — | Any other div attributes — onClick, onMouseEnter, aria-*, etc. |


🎨 Styling & color

Icons are drawn with stroke="currentColor", so they take on the text color of their container. Change the color the same way you'd change text color:

{/* Inline style */}
<Activity style={{ color: '#e11d48' }} />

{/* Inherit from a parent */}
<div style={{ color: 'tomato' }}>
  <Activity />
</div>

{/* Tailwind utility classes */}
<Activity className="text-emerald-500" />

Sizing

<Activity size={16} />
<Activity size={24} />
<Activity size={48} />

🧩 Usage examples

Animate automatically on page load

<Rocket autoAnimateOnLoad />

Loop the animation while hovering

<Bell loopOnHover />

Animate on click instead of hover

<Heart hoverable={false} animateOnClick />

Use inside a button with your own handler

<button onClick={() => console.log('clicked')}>
  <Trash animateOnClick aria-label="Delete" />
</button>

📚 Available icons

aliveicon currently ships 515+ icons and is actively growing. Import any icon by its named export (PascalCase):

import { CircleCheck, ChartLine, ShieldAlert } from 'aliveicon';

| Group | Count | Examples | | ----- | ----- | -------- | | A | 78 | Activity, Airplay, AlarmClock, Anchor, ArrowRight, Atom, Award | | B | 128 | Battery, Bell, Bluetooth, Book, Bot, Brain, Bug, Building | | C | 140 | Calendar, Camera, Car, ChartLine, Check, ChevronDown, Circle, Clock | | N | 16 | Navigation, Network, Newspaper, Notebook, Nut | | O | 10 | Octagon, Omega, Option, Orbit, Origami | | Q | 2 | Quote, QRCode | | R | 50 | Rabbit, Radar, Radio, Receipt, RefreshCw, Rocket, RotateCcw | | U | 35 | Umbrella, Undo, Upload, User, Users, Utensils | | V | 20 | Variable, Vault, Video, Volume, Vote | | W | 33 | Wallet, Wand, Watch, Waves, Webcam, Wifi, Wind, Wrench | | X | 2 | X, XTwitter | | Y | 1 | YouTube | | Z | 4 | Zap, ZapOff, ZoomIn, ZoomOut |

The full, type-checked list of exports lives in src/index.ts. Your editor's autocomplete will surface every available icon as you type.


🎬 How the animation works

Each icon is an inline SVG whose stroke paths are rendered as Framer Motion motion.path elements. When triggered, the icon animates its pathLength, pathOffset, and opacity to redraw the outline from scratch, then settles back into its resting state. Triggers (hover, click, mount, loop) simply decide when that animation runs, using Framer Motion's useAnimation controls under the hood.


📄 License

MIT © Hemang Baldha