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

fxgcomponents_yajea001

v1.0.25

Published

React components

Readme

Composantes REACT

Implémentation d'une bibliothèque REACT de 10 composantes à l'aide des frameworks Antd et Material-UI. Une collaboration de Samuel Demers et Yannick Jean.

Liste des composantes

  • Alerte
  • Avatar
  • Bouton
  • Carte
  • ChampTexte
  • Etape
  • LoadSpin
  • MenuDeroulant
  • Popup
  • Resultat

- Alerte

  • Succes : Applique les paramètres de l'alerte succès.
  • Avertissement : Applique les paramètres de l'alerte avertissement.
  • Erreur : Applique les paramètres de l'alerte erreur.
Exemple d'utilisation:
<Alerte
  message="Vous avez réussi à créer votre alerte!!!"
  type="success"
/>

- Avatar

  • Petit : La taille de l'avatar sera petite.
  • Moyen : La taille de l'avatar sera moyenne.
  • Grand : La taille de l'avatar sera grande.
Exemple d'utilisation:
<Avatars
  alt="Roger"
  src="assets/img/Roger.jpg"
  width={24}
  height={24} 
/>

- Bouton

  • Start : Applique l'aspect visuel du bouton Start.
  • Eject : Applique l'aspect visuel du bouton Eject.
  • Destroy : Applique l'aspect visuel du bouton Auto Destroy.
Exemple d'utilisation:
<Bouton
  type="primary"
  shape="circle"
  text1="START"
  color="green"
  borderColor="black"
  height={45}
  width={50}
/>

- Carte

  • Default : Carte par défaut.
  • DarkMode : Active le "DarkMode".
  • Hoverable : Effet visuel "hoverable".
Exemple d'utilisation:
<Carte
  width={250}
  title="European cool girl" 
  description="www.tinder.com" 
/>

- ChampTexte

  • Contour : Ajoute à l'aspect visuel du champ un contour bleu.
  • Attention : Ajoute à l'aspect visuel du champ un avertissement.
  • Succes : Ajoute à l'aspect visuel du champ un encadré succès.
Exemple d'utilisation:
<ChampTexte
  label="Nom"
  color="primary"
  defaultValue=""
  helperText=""
/>

- Etape

  • Attente : L'étape est au niveau attente.
  • Chargement : L'étape est au niveau chargement.
  • Termine : Toutes les étapes sont terminées.
Exemple d'utilisation:
<Etape
  current="1"
  labelPlacement="vertical"
  title1="En attente.."
  title2="Chargement"
  title3="Terminé!"
  description1=""
  description2=""
  description3=""  
/>

- LoadSpin

  • Small : L'icône de chargement est petit.
  • Medium : L'icône de chargement est moyen.
  • Large : L'icône de chargement est grand.
Exemple d'utilisation:
<LoadSpin 
  size="small" 
/>

- MenuDeroulant

  • BottomLeft : Menu en bas à gauche.
  • Bottom : Menu en bas au milieu.
  • Right : Menu à droite.
Exemple d'utilisation:
<MenuDeroulant
  item1="Hot-Dog"
  item2="Poutine"
  item3="Hamburger"
  placement="bottomLeft"
/>

- Popup

  • Basic : Fênetre modale de base.
  • Centered : Fênetre modale centré.
  • Warning : Fênetre modale d'alerte.
Exemple d'utilisation:
<PopUp
  title="Basic modal" 
/>

- Resultat

  • Succes : Affiche la couleur, l'icône et le texte pour un succès.
  • Probleme : Affiche la couleur, l'icône et le texte pour un avertissement.
  • Erreur : Affiche la couleur, l'icône et le texte pour une erreur.
Exemple d'utilisation:
<Resultats
  status="success"
  title="Votre achat a été complété avec succès!"
  subTitle="Numéro de commande : 1234567890"
  type="primary"  
  key="console"  
/>

Pour démarrer le projet dans le terminal:

yarn install
yarn storybook

ou

npm install
npm run storybook