0.0.4 • Published 5 months ago
react-ecco-static v0.0.4
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.