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

ngx-spad-lib-icons

v1.0.8

Published

## Tecnologías Implementadas

Downloads

37

Readme

SPAD CLOUD - LIBRERÍA DE ÍCONOS

Tecnologías Implementadas

Angular CLI versión 17.3.8

Node.js versión 20.13.1

Descripción General

Esta librería incluye componentes individuales que generan íconos en formato de fuente basado en SVG con la librería icon moon gestionado por clases CSS o SCSS.

Libro de archivos SVG Figma prototype última actualización 10/01/2025.

Compilación e Instalación - Pruebas en Desarrollo

Ejecutar el siguiente comando desde la raíz del proyecto SPAD-LIB-ICONS para compilar la librería:

ng build ngx-spad-lib-icons --configuration=production

Ingresar al directorio dist/ngx-spad-lib-icons y ejecutar el siguiente comando para empaquetar la librería:

npm pack

Copiar el path del archivo *.tgz generado en la carpeta dist/ngx-spad-lib-icons.

En la aplicación de Angular donde se desee utilizar la librería, ejecutar el siguiente comando para instalar la librería:

npm install path/ngx-spad-lib-icons.tgz

Uso de la librería de íconos

Los componentes de íconos están diseñados para usarse de forma individual mediante clases CSS, permitiendo gestionar sus propiedades y estilos a través de hojas de estilos independientes o mediante estilos en línea.

Para el uso de los diferentes íconos se puede ingresar a la siguiente documentación: SPAD Docs - Documentación de Iconos

Ejemplo de Uso: Importar librería en un componente

import { IconComponent } from "ngx-spad-lib-icons";


@Component({
  selector: 'app-component-example',
  standalone: true,
  imports: [
    IconComponent, 
  ],
  templateUrl: './componnet-example.component.html',
  styleUrl: './componnet-example.component.scss'
})

Ejemplo de Uso

En el archivo componnet-example.component.html se muestra el uso del componente.

<ngx-spad-icon-component>
      <i class="icon-notification-true"></i>
</ngx-spad-icon-component>

En el archivo component-example.component.ts se muestra como debe importarse el componente.

import { IconComponent } from "ngx-spad-lib-icons";

@Component({
  selector: 'app-component-example',
  standalone: true,
  imports: [ IconComponent ],
  templateUrl: './component-example.component.html',
  styleUrl: './component-example.component.scss'
})
export class ComponentExampleComponent  { }

Ejemplo de Uso: Agregar otros estilos CSS / SCSS


.icon-notification-true{
  font-size: 30px;
  color: aqua;
}

.icon-notification-true:hover{
  font-size: 40px;
  color: red;
}

Nota: Todos los estilos se gestionan desde la hoja de estilos específica del componente, utilizando la clase asignada al ícono. Por defecto, el color del ícono es negro (sin color).