Giter Site home page Giter Site logo

ameesme / react-eva-icons Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weddingbook/react-eva-icons

0.0 1.0 0.0 2.22 MB

⚛:heart: ReactJS component for open source Eva Icons library

Home Page: https://dimitrisraptis96.github.io/react-eva-icons/

License: MIT License

JavaScript 100.00%

react-eva-icons's Introduction

⚛:heart: react-eva-icons

Build Status

React.js components for the awesome open source Eva Icons library.

Demo

Visit here

 

Getting Started

Using npm

 npm install --save react-eva-icons

Or using yarn

 yarn add react-eva-icons

 

Usage

import Icon from 'react-eva-icons';

...

render (
  <Icon 
    name="activity"
    size="medium"     // small, medium, large, xlarge
    animation={{
      type: "pulse",  // zoom, pulse, shake, flip
      hover: true,
      infinite: false 
    }}
  />
);

 

Props

Option Type Values Description
animation object See here Icon animation
fill string e.g. '#fff' Icon color
name string e.g. 'activity' Define the name of the icon
size string small, medium, large, ``xlarge Icon size

 

Known Issues

When using Gatsby and server-side rendering, you should dynamic import the library:

let Icon
if (typeof window !== "undefined") {
  import("react-eva-icons").then(module => Icon = module.default);
}

Issue and solution by @taniotanio7 here

 

License

MIT

 

Made with 🤘 by @d__raptis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.