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

@duo-icons/vue

v1.0.1

Published

Duo Icons is a library of modern and beautiful duotone icons, designed for easy use in vue projects.

Downloads

15

Readme

A modern and beautiful duotone icon library designed for seamless integration with Vue 3 projects. Duo Icons offers a collection of carefully crafted icons with a distinctive duotone design.

Installation

Install the Duo Icons Vue package using npm:

npm install @duo-icons/vue

Requirements

  • Vue 3.x.x or higher

Basic Usage

Import and use icons directly in your Vue components:

<template>
  <div>
    <AddCircle />
    <AddCircle size="32" />
    <AddCircle size="24" class="custom-icon" />
  </div>
</template>

<script setup>
import { AddCircle } from '@duo-icons/vue';
</script>

Available Icons

The complete collection of all available icons is at https://duoicons.vercel.app/, providing the necessary resources to implement them into your project.

Props & Options

All Duo Icons components accept the following props:

| Prop | Type | Default | Description | |------|------|---------|-------------| | size | number \| string | 24 | The width and height of the icon in pixels or any valid CSS size unit (e.g., "24", 32, "2rem") |

SVG Attributes

Since Duo Icons are Vue components wrapping SVG elements, you can pass any standard SVG attribute to customize their appearance:

<template>
  <AddCircle 
    size="32"
    color="currentColor"
    class="icon-custom"
    aria-label="Add a new item"
  />
</template>

<script setup>
import { AddCircle } from '@duo-icons/vue';
</script>

Styling

Using CSS Classes

<template>
  <AddCircle class="my-icon" />
</template>

<style scoped>
.my-icon {
  color: #1a73e8;
  transition: all 0.3s ease;
}

.my-icon:hover {
  color: #0d47a1;
  transform: scale(1.1);
}
</style>

Customizing Duotone Layers

Duo Icons use a duotone design with primary and secondary layers. You can customize each layer:

<template>
  <svg class="custom-icon" viewBox="0 0 24 24" width="24" height="24">
    <!-- Secondary layer (faded) -->
    <path class="duo-icons-secondary-layer" d="..." opacity="0.3" />
    <!-- Primary layer (main) -->
    <path class="duo-icons-primary-layer" d="..." />
  </svg>
</template>

<style scoped>
.custom-icon .duo-icons-secondary-layer {
  fill: url(#gradient);
}

.custom-icon .duo-icons-primary-layer {
  fill: #1a73e8;
}
</style>

Examples

Size Variations

<template>
  <div class="icon-sizes">
    <AddCircle size="16" />
    <AddCircle size="24" />
    <AddCircle size="32" />
    <AddCircle size="48" />
  </div>
</template>

<script setup>
import { AddCircle } from '@duo-icons/vue';
</script>

Color Variations

<template>
  <div class="icon-colors">
    <AddCircle class="text-blue" />
    <AddCircle class="text-green" />
    <AddCircle class="text-red" />
  </div>
</template>

<script setup>
import { AddCircle } from '@duo-icons/vue';
</script>

<style scoped>
.text-blue { color: #1a73e8; }
.text-green { color: #34a853; }
.text-red { color: #ea4335; }
</style>

License

MIT - Created by fazdiu

Support

If you find Duo Icons useful, consider supporting the project with a donation: Support me on Ko-fi