Socket
Socket
Sign inDemoInstall

eva-icons

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eva-icons

Eva Icons - beautifully crafted Open Source UI icons for common actions and items.


Version published
Weekly downloads
23K
increased by7.33%
Maintainers
1
Weekly downloads
 
Created
Source

Eva Icons

EVA Icons is a pack of more than 400 beautifully crafted Open Source icons for common actions and items. 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 serveral formats, including PNG, SVG, font, Sketch, etc.

Download

  • Complete Eva Icons 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:

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

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

NPM

  1. Install the package:
npm i eva-icons
  1. Include it to your page:
<script src="path/to/dist/eva-icons.js"></script>

How to use

JavaScript

  1. Add the data-eva attribute with the icon name to an element:
<i data-eva="github"></i>
  1. 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.

Fonts

Eva Icons are also avaialbe as a web font

  1. Include the font css into your page:
<link href="path/to/css/Eva-Icons.css">
  1. 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({ ... })

Replaces all elements that have a data-eva attribute with SVG markup corresponding to the element's data-eva attribute value. Accepts an attr configuration object with the following parameters:

TODO: add parameters table

License

MIT license.

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 Akveo

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

Keywords

FAQs

Package last updated on 30 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc