react-ecco-static
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

React Ecco Static

React Ecco Static is a library that allows you to use the static SVG version of Ecco Icon Pack icons in your React project. To use the animated Lottie version, please visit the official Ecco Icon website.

Installation

You can install the library using npm:

npm install react-ecco-static

Or with yarn:

yarn add react-ecco-static

Usage

To use the icons, simply import them and add them to your React component like this:

import { Airplane } from "react-ecco-static"


const App = () => (
    <div>
        <Airplane />
    </div>
);

export default App;

Additionally, you can change the icon's color by setting the color value in your component.

import { Airplane } from "react-ecco-static"


const App = () => (
    <div>
        <Airplane color="red" />
    </div>
);

export default App;

License

Ecco Icon is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) License.

Contact

For any questions or feedback, please contact me at hi@sajjaddashti.ir.

Package Sidebar

Install

npm i react-ecco-static

Weekly Downloads

4

Version

0.0.4

License

Creative Commons Attribution 4.0 International (CC BY 4.0)

Unpacked Size

268 kB

Total Files

125

Last publish

Collaborators

  • sajjaddashti