@ec-europa/ecl-social-icons

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@ec-europa/ecl-social-icons
7640.7.05 years ago5 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>