1.2.2 • Published 9 months ago

@inertiapixel/react-icons v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

InertiaPixel Icons

InertiaPixel Icons

InertiaPixel Icons is a collection of high-quality SVG icons designed for React and Next.js applications. This lightweight, customizable icon set is perfect for modern web development.

With 5000+ icons, this package provides a scalable, flexible, and easy-to-use solution for your UI needs.

šŸš€ Installation

Install the package via npm:

npm install @inertiapixel/react-icons

Usage

import React from "react";
import { Heart1Icon, Star1Icon, ShoppingCart1Icon, Accessible1Icon } from "@inertiapixel/react-icons";

const App = () => {
  return (
    <div>
      <ShoppingCart1Icon />
      <Heart1Icon width={100} height={100} color="red" />
      <Star1Icon width={100} height={100} color="#008000" />
      <Accessible1Icon width={100} height={100} color="#008000" fill="blue" className="border" />
    </div>
  );
};

export default App;

Customization

Each icon component accepts the following props for full flexibility:

PropTypeDefaultDescription
widthnumber15Width of the icon in pixels
heightnumber15Height of the icon in pixels
colorstring'currentColor'Sets the stroke color of the icon
fillstring'none'Sets the fill color of the icon
classNamestringundefinedApply custom classes (e.g., Tailwind classes)
...propsany—All other standard SVG props are supported as well

Why use InertiaPixel React Icons instead of icon fonts?

SVGs are supported by all major browsers and offer better flexibility, scalability, and performance compared to icon fonts. With InertiaPixel React Icons, you can import only the icons you need, avoiding the overhead of large font files. This keeps your bundle size optimized and makes it easy to manage and track icon usage across your project.

Authors

Visit our official website for live previews and easily find the icons you need for your project:

šŸ”— www.inertiapixel.com/react-icons

License

This icon set is free and open-source under the MIT License.
See the full license here.

Crafted in India by InertiaPixel

1.2.2

9 months ago

1.2.1

9 months ago

1.2.0

10 months ago

1.1.9

10 months ago

1.1.8

10 months ago

1.1.7

10 months ago

1.1.6

10 months ago

1.1.5

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago