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 🙏

© 2025 – Pkg Stats / Ryan Hefner

edvoy-icons

v1.1.2

Published

A comprehensive icon library with 4,317+ icons exported as Vue 3 components, optimized for tree-shaking.

Readme

Edvoy Icons

A comprehensive icon library with 4,317+ icons exported as Vue 3 components, optimized for tree-shaking.

Installation

npm install edvoy-icons

Usage

Style-Based Imports (Recommended)

Import icons by style for better organization and performance:

// Stroke icons (952 icons)
import {
  UserDefaultStroke,
  AwardMedalStroke,
  ChatDefaultStroke,
} from 'edvoy-icons/stroke'

// Solid icons (813 icons)
import {
  UserDefaultSolid,
  AwardMedalSolid,
} from 'edvoy-icons/solid'

// Contrast icons (819 icons)
import { UserDefaultContrast } from 'edvoy-icons/contrast'

// DuoStroke icons (913 icons)
import { UserDefaultDuoStroke } from 'edvoy-icons/duo-stroke'

// DuoSolid icons (789 icons)
import { UserDefaultDuoSolid } from 'edvoy-icons/duo-solid'

Direct Imports (Maximum Performance)

For the smallest bundle size, import individual files:

import UserDefaultStroke from 'edvoy-icons/UserDefaultStroke'
import AwardMedalSolid from 'edvoy-icons/AwardMedalSolid'

In Vue Components

<template>
  <div>
    <UserDefaultStroke class="w-6 h-6 text-blue-500" />
    <AwardMedalSolid class="w-6 h-6 text-gray-700" />
  </div>
</template>

<script setup>
import { UserDefaultStroke } from 'edvoy-icons/stroke'
import { AwardMedalSolid } from 'edvoy-icons/solid'
</script>

Icon Naming Convention

Icons are organized by style and named using PascalCase:

  • Stroke: UserDefaultStroke, AwardMedalStroke
  • Solid: UserDefaultSolid, AwardMedalSolid
  • Contrast: UserDefaultContrast, AwardMedalContrast
  • DuoStroke: UserDefaultDuoStroke, AwardMedalDuoStroke
  • DuoSolid: UserDefaultDuoSolid, AwardMedalDuoSolid

Numeric icons have the "Icon" prefix: Icon01Stroke, Icon01Solid

Customization

All icons use currentColor for fills and strokes, making them easy to style:

<UserDefaultStroke
  class="w-8 h-8 text-red-500 hover:text-red-700"
/>

Or with inline styles:

<UserDefaultStroke
  style="width: 32px; height: 32px; color: #3b82f6;"
/>

Tree-Shaking

This package is optimized for tree-shaking. Only the icons you import will be included in your final bundle.

✅ Good - Tree-shakeable

// Loads only stroke icons index (~952 icons)
import { UserDefaultStroke, AwardMedalStroke } from 'edvoy-icons/stroke'

// Loads only one file
import UserDefaultStroke from 'edvoy-icons/UserDefaultStroke'

❌ Bad - Imports everything

// Loads all 4300+ icons
import * as Icons from 'edvoy-icons'

Nuxt 3 Configuration

Remove any components config that scans the entire package:

// ❌ Remove this from nuxt.config.ts
components: [
  {
    path: 'node_modules/edvoy-icons/dist',
    pattern: '**/*.vue',
  }
]

Instead, use direct or style-based imports in your components.

Development

Fetching Icons from Figma

# Fetch all icons
node fetch-icons.js

# Fetch only new icons
node fetch-icons.js --new-only

Building the Package

node build.js

This will:

  1. Optimize all SVGs in icons/svg/
  2. Generate Vue components in dist/
  3. Create dist/index.js with all exports

Icon Playground

A visual playground is available in the playground/ directory:

cd playground
npm install
npm run dev

Features:

  • Browse all 4,317+ icons
  • Search by name
  • Filter by style (Solid, Stroke, DuoSolid, DuoStroke, Contrast)
  • Copy component usage to clipboard

License

ISC