@ecl/generic-component-social-icon

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@ecl/generic-component-social-icon
8391.7.03 years ago5 years agoMinified + gzip package size for @ecl/generic-component-social-icon 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-social-icon ecl-social-icon--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-social-icon ecl-social-icon--facebook">Facebook</span>

  • Making an icon smaller:

<span class="ecl-social-icon ecl-social-icon--smaller ecl-social-icon--facebook">Facebook</span>