@ec-europa/ecl-social-icons

This is the ECL package you need when you want to implement a social media icon in any way.

Stats

StarsIssuesVersionUpdatedCreatedSize
@ec-europa/ecl-social-icons
0.7.04 years ago4 years agoMinified + gzip package size for @ec-europa/ecl-social-icons in KB

Readme

Social icons

This is the ECL package you need when you want to implement a social media icon in any way.

Few possibilities to do so:

  • As a link:
<a href="#" class="ecl-link ecl-icon-social ecl-icon-social--facebook">Facebook</a>

Note that the ecl-link class is an optional extension you can have for links formatting.

  • As a span:
<span class="ecl-icon-social ecl-icon-social--facebook">Facebook</span>
  • Making an icon smaller:
  <span class="ecl-icon-social ecl-icon-social--smaller ecl-icon-social--facebook">Facebook</span>

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.