Socialite make it easy for you to embed the various social sharing buttons in your website. The buttons may be activated (loaded) on document load, on article hover, on another custom event (like when the user scrolls to end of the document).

Socialite supports Twitter, Facebook, LinkedIn, Google Plus while you can include support for Pinterest with an extension.

To add a button, simply create a regular hyperlink with the class “socialite” and a class like “twitter-share” to specify the social network. The URL for sharing can be included in data-url tags though you may also specify a fallback URL in case the JavaScript is off in the visitor’s browser.

The buttons are loaded asynchronously and thus the speed of document rendering won’t be affected. Also, Socialite doesn’t require any external library.

← Social Sharing