@ecl/generic-component-social-icon

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

Stats

StarsIssuesVersionUpdatedCreatedSize
@ecl/generic-component-social-icon
1.7.02 years ago3 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>

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.