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

react_websites_components

v1.0.3

Published

a set of react components for developing SEO-friendly websites

Readme

React_websites_components

A react library created for developing SEO-friendly websites, compatibile con React 16.8+ e FontAwesome 7.

🚀 Installation

npm install react_websites_components

📦 Dependencies

This library requires your project to have the following dependencies installed:

  • react >= 16.8.0
  • react-dom >= 16.8.0
  • @fortawesome/fontawesome-free >= 7.0.0

If you use older versions, you may encounter errors such as useState is not a function.

🧪 examples of use

Header component

import {HeaderNavBar,HeaderSocialIcons,HeaderImageLogo,Header} from 'react_websites_components/Header'
function App() {
  <Header backGroundColor="red" fixed hoverColor="blue">
    <HeaderNavBar
      text={{size:'20px',family:"Open Sans, sans-serif"}}
      enableHover
      menuData={[{pageTitle:'home',pagePath:'/page1'},{pageTitle:'about us',pagePath:'/page2'},{pageTitle:'work',pagePath:'/page3'}]}
      align="left"
      componetGrow={3}
    />
    <HeaderSocialIcons 
      enableHover
      sizeIcon="18px"
      iconList={{facebook:{link:'https://facebbok'},twitch:{link:'https://twitch'},instagram:{link:'https://twitch'}}}
      align={'center'}
    />
    <HeaderImageLogo urlImage="/file.svg" align={'right'}/>
  </Header>
}
  • header component

    • hoverColor(string): set the hover event color.
    • backGroundColor(string): set the background color of the component header. if it isn't insert the value is transparent
    • fixed(boolean): if it is insert the header component is fixed
  • NavBar component

    • text({size:string,family:string}): set the size and the family of the navBar.
    • enableHover(boolean): enable the hover event.
    • menuData(json array): every json in the array contained the title of menu and the corresponding link.
    • align(string): set the horizontal alignment of the NavBar component. accepted values are left, center, right.
    • componentGrow(number): sets the space occupied by the component in relation to the others.
  • NavBarIcon

    • sizeIcon(string): set the icons size.
    • enableHover: enable the hover event.
    • iconList(json array): every json in the array contained the type of social icon and the link
    • align(string): set the alignment of the icon group. accepted values are left, center, right
  • NavBarLogo

    • urlImage(string): this path is inserted in the src of the image
    • align(string): set the alignment of the logo. accepted values are left, center, right

Footer component

import {Footer,FooterNavBar,FooterRow} from 'react_websites_components/Footer'
function App() {
  <Footer backgroundColor="#666666ff">
    <FooterRow align="center">
      <FooterNavBar title={{content:'Company'}} align='center' links={{content:[{linkText:'About Us', linkPath:'/about'},{linkText:'Careers', linkPath:'/careers'},{linkText:'Press', linkPath:'/press'}]}}/>
      <FooterNavBar title={{content:'support'}} align='right' links={{content:[{linkText:'Help Center', linkPath:'/help'},{linkText:'Contact Us', linkPath:'/contact'},{linkText:'Privacy Policy', linkPath:'/privacy'}]}}/>
    </FooterRow>
    <FooterRow align="left">
      <FooterNavBar title={{content:'services'}} align='left' links={{content:[{linkText:'Consulting', linkPath:'/consulting'},{linkText:'Sales', linkPath:'/sales'},{linkText:'Training', linkPath:'/training'}]}}/>
    </FooterRow>
  </Footer>
}
  • Footer component

    • backgroundColor(string): set background color component.
  • FooterRow component

    • align(string): set the row align
  • FooterNavBar component

    • title({size?:string,family?:string,content:string}): set the title of the navBar. you can set the size and the family font.
    • align(string): align the content of foterNavBar.
    • links({size?:string,family?:string,content:{linkText: string; linkPath: string}[]}): set the content with relative link. you can set the size and the family font.