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

@fraza/icons

v0.3.20

Published

Icônes React en 4 styles : solid rounded, stroke rounded, solid sharp, stroke sharp.

Readme

Icônes React dessinées sur une grille de 24 px, en 4 styles, sous licence MIT.

npm i @fraza/icons

Parcourir les icônes · icons.fraza.ca

import { BellIcon } from '@fraza/icons/BellIcon';

<BellIcon className="size-5 text-accent" />

Points forts

  • Une icône, un fichier. Chaque icône s’importe seule. Votre bundle ne contient que celles que vous utilisez.
  • La couleur du texte. Tout est en currentColor. Taille et couleur se règlent en CSS, comme pour une lettre.
  • Typée, sans dépendance. Seul React (19 ou plus) est requis. Les types TypeScript sont livrés avec chaque icône.

Les 4 styles

| Style | Import d’une icône | |---|---| | Solid (par défaut) | @fraza/icons/<Nom> ou @fraza/icons/solid-rounded/<Nom> | | Stroke | @fraza/icons/stroke-rounded/<Nom> | | Solid Sharp | @fraza/icons/solid-sharp/<Nom> | | Stroke Sharp | @fraza/icons/stroke-sharp/<Nom> |

import { HomeIcon } from '@fraza/icons/HomeIcon';                // Solid
import { HomeIcon } from '@fraza/icons/stroke-rounded/HomeIcon'; // Stroke
import HomeIcon from '@fraza/icons/stroke-sharp/HomeIcon';       // export par défaut

Les noms sont propres à Fraza et décrivent l’objet dessiné : TrashIcon, BellIcon, ChevronDownIcon.

Props et types

Chaque icône est un composant React qui reçoit les props du <svg> (width, height, className…) et porte Icon.keywords, ses mots-clés en anglais et en français.

import type { FrazaIcon } from '@fraza/icons/types';

Chargement par nom

Pour une icône connue seulement par son nom à l’exécution, @fraza/icons/lazy (ou @fraza/icons/<style>/lazy) exporte loaders, une table { Nom: () => import('./Nom.js') }. Chaque icône y reste un fichier chargé seulement à l’appel.

import { loaders } from '@fraza/icons/stroke-rounded/lazy';

const { BellIcon } = await loaders.BellIcon();

Dans l’admin, getAdminIcon(name) du core s’en sert.

SVG et métadonnées

| Fichier | Contenu | |---|---| | @fraza/icons/svg/<style>/<Nom>.svg | Le SVG brut | | @fraza/icons/meta.json | La liste des icônes, avec leurs catégories et leurs mots-clés |

Barrel

Le barrel (@fraza/icons, @fraza/icons/<style>) réexporte tout un style. Il reste publié pour la compatibilité, mais l’outil de publication du core le refuse dans le core et les modules. Préférez l’import par fichier.

Licence

MIT. Voir LICENSE.