hugeicons-react
v0.3.0
Published
HugeIcons React Component Library https://hugeicons.com
Downloads
28,474
Maintainers
Readme
HugeIcons React - Free React Icons
Welcome to HugeIcons React, your ultimate source for free React icons. With over 3600 stroke icons available at no cost, our collection is designed to cater to a wide range of design needs, making it perfect for developers and designers looking for high-quality, customizable React icons. Enhance your user interfaces with our scalable and easily adjustable icons, ideal for projects of any size.
Thousands of designers, developers, and content creators use HugeIcons Pro for unlimited personal and commercial projects, making it one of the most versatile and user-friendly icon libraries available.
Table of Contents
General Usage
Icons can be downloaded from the HugeIcons website and used in your projects. The icons are available in SVG format and can be easily integrated into your applications.
Features
- Extensive Collection: Access over 3600 stroke icons for free, ready to use in your projects.
- Scalable Icons: Easily adjust the size of icons to fit your design perfectly.
- Color Customization: Apply any color to icons to match your brand or design theme.
- Rotation and Animation: Add a dynamic touch with rotation and animation options.
Installation
To start using HugeIcons-React in your project, install the package via npm:
npm install hugeicons-react
Or via yarn:
yarn add hugeicons-react
Usage Examples
Import the icons you need from the library and integrate them into your React components. Here's how you can customize the icons to fit your needs:
Control Icon Size
Adjust the size of your icons by passing a size
prop:
import { Home01Icon } from "hugeicons-react";
<Home01Icon size={32} /> // Custom size
Customize Icon Color
Change the color of your icons by passing a color
prop:
import { MarketingIcon } from "hugeicons-react";
<MarketingIcon color="#00FF00" /> // Green color
Rotate Icons
Rotate your icons to a specific angle with the rotate
prop:
import { ListSettingIcon } from "hugeicons-react";
<ListSettingIcon rotate={90} /> // Rotate 90 degrees
Animate Icons
Apply a simple animation to your icons by setting the animate prop to true:
import { MarketingIcon } from "hugeicons-react";
<MarketingIcon animate={true} /> // Enable animation
Example
Check out our example project to see HugeIcons-React in action and explore more customization options.
Live Example
Explore a live demonstration of HugeIcons React in action at HugeIcons React Example. This example showcases the versatility and ease of customizing our icons to fit your design needs, providing a hands-on experience with the icon collection.
FAQ
Q: How can I download and use free React icons from HugeIcons React?
A: You can install the package via npm or yarn and then import the icons into your React project. Detailed installation instructions are provided in the Installation section.
Q: Are these React icons customizable in terms of size and color?
A: Yes, all icons are fully customizable. You can adjust their size, color, and other properties easily within your React application. See Usage Examples for more information.
Q: Can I contribute my own designs to the HugeIcons React collection?
A: Absolutely! We welcome contributions. Please refer to our Contributing section for guidelines on how to submit your icons.
Q: Is there a live demo where I can see these React icons in action?
A: Yes, we have a live example available at HugeIcons React Example. It showcases various icons and their customization options.
Q: Are the icons from HugeIcons React free for commercial use?
A: Yes, our icons are free for both personal and commercial use, adhering to the MIT License. Please review the license details for more information.
Contributing
Contributions are welcome! If you'd like to add more icons or improve the library, please feel free to submit a pull request or open an issue.
License
HugeIcons React is licensed under the MIT License. This permits use, modification, distribution, and private or commercial use of the icons, provided that the original copyright and permission notice are included in all copies or substantial portions of the software.
For more details, see the LICENSE.md file in the repository.