• Stars
    star
    8,576
  • Rank 4,274 (Top 0.09 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 6 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A pack of more than 480 beautifully crafted Open Source icons. SVG, Sketch, Web Font and Animations support.

Eva Icons

Eva Icons is a pack of more than 480 beautifully crafted Open Source icons for common actions and items. Additionally, Eva Icons supports 4 animation types: zoom, pulse, shake and flip. Download on desktop to use them in your digital products for Web, iOS and Android. Icons are provided in two visual types: Fill and Outline and in several formats, including PNG, SVG, font, Sketch, etc.

Download

CDN

Load from CDN in your project:

<script src="https://unpkg.com/eva-icons"></script>

After including the script, eva will be available as a global variable.

NPM

  • Install the package:
npm i eva-icons
  • Include it to your page:
<script src="path/to/dist/eva-icons.js"></script>
  • Or require the package (may vary depending on your build system):
const eva = require('eva-icons');
import * as eva from 'eva-icons';

How to use

JavaScript

  • Add the data-eva attribute with the icon name to an element:
<i data-eva="github"></i>
  • Call eva.replace(); to replace all elements with the data-eva data attribute with SVG elements. You can also pass some additional parameters to the replace method to modify the replace function behavior.
<!DOCTYPE html>
<html lang="en">
  <title></title>
  <script src="https://unpkg.com/eva-icons"></script>
  <body>
  
    <i data-eva="github"></i>

    <script>
      eva.replace()
    </script>
  </body>
</html>

Thanks to Feather Icons for the build process inspiration.

  • Additional attributes:
    • data-eva-fill: set icon color
    • data-eva-height: set icon height
    • data-eva-width: set icon width
    • data-eva-animation: set icon animation
<i data-eva="github" data-eva-fill="#ff0000" data-eva-height="48" data-eva-width="48"></i>

Fonts

Eva Icons are also available as a Web Font.

  • Include the font css into your page:
<link href="path/to/style/eva-icons.css">
  • Add eva and eva-icon classes to an element:
<i class="eva eva-github"></i>

We recommend using SVG icons due to better rendering and performance capabilities, more details.

Documentation

eva.replace(options)

Replaces all elements that have a data-eva attribute with SVG markup.

options optional object.

Available 'option' properties:

Name Type Default value Description
fill string none Icon color
width string or number 24px Icon width
height string or number 24px Icon height
class string none Custom css class
animation object none Icon animation

Animation

  • Add the data-eva-animation attribute with the animation type (zoom, pulse, shake and flip) to an element:
<i data-eva="github" data-eva-animation="zoom"></i>
  • Additional animation attributes:
    • data-eva-hover: Makes the animation available on hover. Default value is true. Available true or false.
    • data-eva-infinite: Makes the animation infinite. Default value is false. Available true or false.
<i data-eva="github" data-eva-animation="zoom" data-eva-hover="false" data-eva-infinite="true"></i>

Note: In the above example github icon will be always animated. This type of animation will be applied only to current icons.

  • Pass animation as property in a eva.replace method.
eva.replace({
  animation: {
    type: string, // zoom, pulse, shake, flip
    hover: boolean, // default true
    infinite: boolean, // default false
  }
});

Note: The animation will be applied to all replaced elements.

  • Add eva-parent-hover class to the parent container in a case you want to activate the animation hovering on the parent element.
<div class="eva-parent-hover">
  <i data-eva="github" data-eva-animation="zoom"></i>
  Zoom animation
</div>

3rd party implementations

License

MIT license.

More from Akveo

  • Nebular - Angular Components, Auth and Security
  • ngx-admin - the best Angular admin template

How can I support the developers?

  • Star our GitHub repo โญ
  • Create pull requests, submit bugs, suggest new features or documentation updates ๐Ÿ”ง
  • Follow us on Twitter ๐Ÿพ
  • Like our page on Facebook ๐Ÿ‘

From Developers

Made with โค๏ธ by Akveo team. Follow us on Twitter to get the latest news first! We're always happy to receive your feedback!

More Repositories

1

ngx-admin

Customizable admin dashboard template based on Angular 10+
TypeScript
25,185
star
2

blur-admin

AngularJS Bootstrap Admin Panel Framework
JavaScript
11,369
star
3

react-native-ui-kitten

๐Ÿ’ฅ React Native UI Library based on Eva Design System ๐ŸŒšโœจDark Mode
TypeScript
10,324
star
4

nebular

๐Ÿ’ฅ Customizable Angular UI Library based on Eva Design System ๐ŸŒšโœจDark Mode
TypeScript
8,046
star
5

kittenTricks

React Native starter kit with over 40 screens and modern Light and Dark theme for creating stunning cross-platform mobile applications.
TypeScript
7,167
star
6

ng2-smart-table

Angular Smart Data Table component
TypeScript
1,629
star
7

react-native-reddit-reader

react native
JavaScript
358
star
8

polymer-admin

Polymer admin dashboard
HTML
296
star
9

angular-progress-button-styles

AngularJS version of codrops progress buttons for the use with promises
CSS
216
star
10

react-native-ui-kitten-demo-app

React Native UI-Kitten demo app
JavaScript
210
star
11

react-native-eva-icons

โญEva Icons for React Native
TypeScript
203
star
12

ngx-admin-dotnet-starter

TypeScript
179
star
13

chernika-mobile

Tinder-like app in Ionic framework
JavaScript
150
star
14

ngx-admin-bundle-support

Support repository for ngx-admin backend bundles with issues tracking, instructions and code samples
TypeScript
58
star
15

digitsquare

Angular and Cordova / Phonegap powered hybrid mobile application (puzzle game)
C#
42
star
16

chernika-server

Node.js backend for chernika-mobile
JavaScript
33
star
17

akveo-react-native-boilerplate

JavaScript
27
star
18

nebular-seed

Angular + Nebular โค๏ธ seed project
TypeScript
19
star
19

doc-prsr

Simple parser to normalize typdoc and doc.js output
TypeScript
14
star
20

meetup-samples

TypeScript
13
star
21

cordova-vk

cordova/phonegap adapter for vksdk
Java
8
star
22

styleguide

JavaScript
5
star
23

akveo-banner

TypeScript
4
star
24

akveo.github.io

HTML
4
star
25

nebular-icons

Nebular icons (deprecated - use Eva Icons instead - https://akveo.github.io/eva-icons/)
CSS
3
star
26

dotnet-starter-bundle

1
star