Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

eva-icons

> 编程语言
Open source

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

8.8K stars0 likes1 views
WebsiteGitHub

About

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

  • Complete Eva Icons Package
  • NPM Package
  • you also can download icons one by one in PNG and SVG formats from Eva Icons Website.

CDN

Load from CDN in your project:

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

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

NPM

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

How to use

JavaScript

  • Add the data-eva attribute with the icon name to an element:
xml
<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.
xml
<!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
xml
<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:
xml
<link href="path/to/style/eva-icons.css">
  • Add eva and eva-icon classes to an element:
xml
<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:
xml
<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.
xml
<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.
javascript
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.
xml

3rd party implementations

  • React Native
  • Flutter

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 :star:
  • Create pull requests, submit bugs, suggest new features or documentation updates :wrench:
  • Follow us on Twitter :feet:
  • Like our page on Facebook :thumbsup:

From Developers

Made with :heart: by Akveo team. Follow us on Twitter to get the latest news first! We're always happy to receive your feedback!

Issues· 57 open

View all issuesOpen on GitHub
  • #137

    [Request] Label icon

    Updated Feb 19, 2025
  • #136

    Conflicts with CSP 'nonce' policy

    Updated Jun 26, 2024
  • #118

    [Request] QR code scan icon

    Updated Jun 19, 2024
  • #80

    Instagram Icon

    Updated Feb 21, 2024
  • #61

    [Request] Icon related to food

    Updated Jan 6, 2024
  • #135

    [Request] Discord icon

    Updated Sep 10, 2023
  • #133

    no such file or directory

    Updated Apr 6, 2023
  • #90

    Apple icon

    Updated Feb 16, 2023
  • #120

    Default viewbox is bad

    Updated Jan 13, 2023
  • #117

    Icon request: Regular car

    Updated Jun 4, 2022

> Tags

TypeScripticonicon-fonticon-packicons

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言