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

@delvicons/icons

v1.0.0

Published

DelvIcons - Comprehensive icon library with static and animated SVG icons for all frameworks

Readme

DelvIcons 🎨

Comprehensive icon library with static and animated SVG icons for all frameworks

npm version License: MIT

DelvIcons is a modern, comprehensive icon library that provides both static and animated SVG icons compatible with React, Vue, Angular, React Native, and vanilla JavaScript. Built with TypeScript and designed for performance and accessibility.

✨ Features

  • 🎯 Universal Compatibility - Works with React, Vue, Angular, React Native, and vanilla JS
  • 🎬 Animated Icons - Unique collection of animated SVG icons with smooth transitions
  • 🎨 Customizable - Easy to style with CSS, supports theming and custom animations
  • 📱 Responsive - Icons that work perfectly across all devices and screen sizes
  • Accessible - Built with accessibility best practices and ARIA support
  • 🚀 Performance Optimized - Tree-shakeable, optimized SVGs, minimal bundle size
  • 🎪 Rich Animations - Pre-built animation utilities (spin, pulse, bounce, etc.)
  • 🌙 Dark Mode Ready - Automatic theme adaptation

📦 Installation

npm install @delvicons/icons
# or
yarn add @delvicons/icons
# or
pnpm add @delvicons/icons

🚀 Quick Start

React

import { ArrowRight, LoadingSpinner } from '@delvicons/icons/react';

function App() {
  return (
    <div>
      <ArrowRight size={24} />
      <LoadingSpinner animated className="text-blue-500" />
    </div>
  );
}

Vue 3

<template>
  <div>
    <ArrowRight :size="24" />
    <LoadingSpinner :animated="true" class="text-blue-500" />
  </div>
</template>

<script setup>
import { ArrowRight, LoadingSpinner } from '@delvicons/icons/vue';
</script>

Angular

import { ArrowRightComponent, LoadingSpinnerComponent } from '@delvicons/icons/angular';

@Component({
  selector: 'app-root',
  template: `
    <delv-arrow-right [size]="24"></delv-arrow-right>
    <delv-loading-spinner [animated]="true"></delv-loading-spinner>
  `,
  imports: [ArrowRightComponent, LoadingSpinnerComponent]
})
export class AppComponent {}

Vanilla JavaScript

import { createArrowRight, createLoadingSpinner } from '@delvicons/icons/vanilla';

const arrowIcon = createArrowRight({ size: 24 });
const spinnerIcon = createLoadingSpinner({ animated: true, className: 'text-blue-500' });

document.body.appendChild(arrowIcon);
document.body.appendChild(spinnerIcon);

CSS Animations

<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="node_modules/@delvicons/icons/dist/delvicons.css">
</head>
<body>
  <!-- Direct SVG usage with CSS classes -->
  <svg class="delv-icon delv-spin">
    <!-- SVG content -->
  </svg>
</body>
</html>

🎬 Animation Classes

DelvIcons comes with built-in CSS animation utilities:

<!-- Basic animations -->
<icon class="delv-spin" />        <!-- Spinning animation -->
<icon class="delv-pulse" />       <!-- Pulsing animation -->
<icon class="delv-bounce" />      <!-- Bouncing animation -->
<icon class="delv-fade" />        <!-- Fading animation -->

<!-- Hover effects -->
<icon class="delv-hover-spin" />  <!-- Spin on hover -->
<icon class="delv-hover-bounce" /><!-- Bounce on hover -->

<!-- Size utilities -->
<icon class="delv-icon-xs" />     <!-- 12px -->
<icon class="delv-icon-sm" />     <!-- 16px -->
<icon class="delv-icon-lg" />     <!-- 24px -->
<icon class="delv-icon-xl" />     <!-- 32px -->

<!-- Color utilities -->
<icon class="delv-icon-primary" />
<icon class="delv-icon-success" />
<icon class="delv-icon-warning" />

📚 API Reference

Icon Props

All framework components accept these common props:

| Prop | Type | Default | Description | |------|------|---------|-------------| | size | number \| string | 24 | Icon size in pixels or CSS unit | | color | string | 'currentColor' | Icon color | | className | string | '' | Additional CSS classes | | animated | boolean | false | Enable animation (for animated icons) | | style | object | {} | Inline styles |

Animation Props (Animated Icons)

| Prop | Type | Default | Description | |------|------|---------|-------------| | duration | string | '2s' | Animation duration | | timing | string | 'ease-in-out' | Animation timing function | | iteration | string | 'infinite' | Animation iteration count | | playState | 'running' \| 'paused' | 'running' | Animation play state |

🎨 Customization

Custom Colors

// Using props
<ArrowRight color="#3b82f6" />
<ArrowRight color="var(--primary-color)" />

// Using CSS
<ArrowRight className="text-blue-500" />
<ArrowRight style={{ color: '#3b82f6' }} />

Custom Animations

.my-custom-animation {
  animation: my-spin 1s linear infinite;
}

@keyframes my-spin {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.1); }
}

Dark Mode

@media (prefers-color-scheme: dark) {
  .delv-icon {
    color: #f1f5f9;
  }
}

/* Or using CSS variables */
:root {
  --icon-color: #1e293b;
}

[data-theme="dark"] {
  --icon-color: #f1f5f9;
}

.delv-icon {
  color: var(--icon-color);
}

🔍 Icon Categories

  • Arrows - Navigation and directional icons
  • Feedback - Loading states, notifications, status indicators
  • Emotions - Hearts, reactions, emotional expressions
  • More categories coming soon!

🛠️ Development

Building the Library

npm install
npm run build

Preview Icons

npm run preview

This starts a local server at http://localhost:3000 with an interactive icon browser.

Adding New Icons

npm run generate:icon

Follow the interactive prompts to create a new icon.

Scripts

  • npm run dev - Start development mode with file watching
  • npm run build - Build all components and assets
  • npm run preview - Start icon preview server
  • npm run generate:icon - Interactive icon generator
  • npm test - Run tests
  • npm run lint - Lint code

📁 Project Structure

delvicons/
├── src/
│   ├── svg/
│   │   ├── static/          # Static SVG icons
│   │   └── animated/        # Animated SVG icons
│   ├── icons.json          # Icon metadata
│   ├── index.ts            # Main entry point
│   └── types.ts            # TypeScript definitions
├── scripts/
│   ├── build-svg.js        # SVG optimization
│   ├── build-components.js # Component generation
│   ├── build-css.js        # CSS utilities
│   ├── preview.js          # Development server
│   └── generate-icon.js    # Icon generator
└── dist/                   # Built assets
    ├── react/
    ├── vue/
    ├── angular/
    ├── vanilla/
    ├── svg/
    └── delvicons.css

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-icons)
  3. Add your icons to the appropriate SVG directories
  4. Update src/icons.json with icon metadata
  5. Run npm run build to generate components
  6. Test your changes with npm run preview
  7. Commit your changes (git commit -am 'Add amazing icons')
  8. Push to the branch (git push origin feature/amazing-icons)
  9. Open a Pull Request

📄 License

MIT © Aman Soni

🙏 Acknowledgments


Made with ❤️ by the DelvUI team