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

@solar-icons/nuxt

v2.3.2

Published

Nuxt module for easily integrating Solar Icons into your Nuxt 3+ applications.

Readme

@solar-icons/nuxt

Nuxt module for Solar Icons. This package provides 8,706 SVG icons across 6 styles (Bold, Broken, Linear, Outline, Bold Duotone, Line Duotone), optimized for Nuxt applications.

Features

  • 8,706 SVGs: 1,451 unique icons in 6 styles. Designed by 480 Design.
  • Tree-shakeable: Import only the icons you use.
  • Auto-injected configuration: The module injects CSS variables globally for consistent sizing and coloring.
  • Customizable: Override size, color, and stroke width per icon.
  • Duotone support: Secondary color controls for bold-duotone and line-duotone styles.
  • TypeScript: Typed components and props.

Install

npm install @solar-icons/nuxt

Usage

// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@solar-icons/nuxt']
})

The module auto-imports icon components with a Solar prefix. SolarHomeIcon and SolarHomeBoldIcon come from the main barrel; SolarHomeIcon from @solar-icons/vue/dynamic is the runtime-switchable variant.

<template>
  <div>
    <SolarHomeBoldIcon />
    <SolarLoginLinearIcon color="#3b82f6" :size="32" :strokeWidth="2" />
  </div>
</template>

Module Options

Configure in your nuxt.config.ts:

// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@solar-icons/nuxt'],
  solarIcons: {
    namePrefix: 'Solar',
    autoImport: true,
    provider: true,
    color: 'currentColor',
    size: 24,
    strokeWidth: 1.5,
    secondaryColor: 'currentColor',
    secondaryOpacity: 0.5,
  }
})
  • namePrefix: prefix for auto-imported icon components (default Solar).
  • autoImport: register icon components and SolarProvider/useSolar as auto-imports (default true).
  • provider: inject a global provider (default true). When enabled, the module provides a global SolarState, writes the styling defaults as --solar-* CSS variables on document.body (client side), and useSolar() works in any component.
  • color, size, strokeWidth, secondaryColor, secondaryOpacity: global icon defaults, applied when provider: true (only the options you set override the defaults above).

When provider: false, the styling options are ignored. Wrap app.vue in <SolarProvider> yourself, or call createSolarIcons from a Nuxt plugin.

Documentation

For installation guides, API reference, and a searchable icon catalog, visit the Nuxt Documentation.

License

MIT License. Icons by 480 Design (CC BY 4.0).