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 🙏

© 2024 – Pkg Stats / Ryan Hefner

freeicons

v1.0.5

Published

`freeicons` is a collection of React components for popular SVG icons. This library provides an easy way to include icons in your React applications, with full support for customization through props.

Downloads

15

Readme

FreeIcons

freeicons is a collection of React components for popular SVG icons. This library provides an easy way to include icons in your React applications, with full support for customization through props.

Features

  • Easy Integration: Import icons as React components.
  • Customizable: Set width, height properties to style your icons.
  • Comprehensive Collection: Includes a wide variety of icons.

Installation

To add freeicons to your project, use npm or yarn:

npm install freeicons
# or
yarn add freeicons


Usage
Importing Icons
You can import individual icons directly into your components. Here’s how to use them:

jsx
Copy code
import { FiBankIcon, FiAddressIcon } from 'freeicons';

function App() {
  return (
    <div className="App">
      <FiBankIcon width="50" height="50" fill="blue" />
      <FiAddressIcon width="50" height="50" fill="red" />
    </div>
  );
}

export default App;
Available Icons
Here is a list of the available icons and their corresponding React components:

FiAddressIcon: Address icon
FiBankIcon: Bank icon
FiBusinessIcon: Business icon
FiCalendarIcon: Calendar icon
FiCellPhoneIcon: Cell phone icon
FiColumnChartIcon: Column chart icon
FiCompanyIcon: Company icon
FiComputerIcon: Computer icon
FiConversationIcon: Conversation icon
FiCreativityIcon: Creativity icon
FiDocumentIcon: Document icon
FiMailIcon: Mail icon
FiNetworkIcon: Network icon
FiNotifyIcon: Notify icon
FiPhotoIcon: Photo icon
FiPieChartIcon: Pie chart icon
FiSetUpIcon: Set up icon
FiThumbsUpIcon: Thumbs up icon
FiTrophyIcon: Trophy icon
FiUploadIcon: Upload icon
FiUserIcon: User icon
Customization
You can customize the icons using the following props:

width: Set the width of the icon (e.g., width="50").
height: Set the height of the icon (e.g., height="50").
fill: Set the color of the icon (e.g., fill="blue").
Example
Here’s an example of using some of the icons with custom styling:

jsx
Copy code
import React from 'react';
import { FiBankIcon, FiAddressIcon } from 'freeicons';

function App() {
  return (
    <div className="App">
      <FiBankIcon width="50" height="50" fill="blue" />
      <FiAddressIcon width="50" height="50" fill="red" />
    </div>
  );
}

export default App;
Contributing
If you want to contribute to this library, please follow these steps:

Fork the repository.
Create a new branch (git checkout -b feature-branch).
Make your changes and commit them (git commit -am 'Add new feature').
Push to the branch (git push origin feature-branch).
Create a new Pull Request.
License
This project is licensed under the ISC License - see the LICENSE file for details.

Contact
For any questions or issues, please open an issue on the GitHub repository.