CVShare.js: Minimal Javascript Social Share Plugin

Easily add social share buttons to your website or blog with CV Share, a lightweight JavaScript plugin. Choose from popular social media platforms and customize...

About the Plugin

CV Share is a plugin that allows you to share your content on social media. It is a simple plugin that is written in vanilla Javascript.It's very lightweight; the combined size of both CSS and JS files is under 5 KB.

Fork on Github

Getting Started

Include the CSS and JS files in your HTML file.

<link rel="stylesheet" href="" />
<script src=""></script>

Then add the following html code wherever you want to render the plugin in your page.

<div class="cv-share"></div>

You can override the default options like this:

cvShareOptions = {
iconColor: "#f99",
onHoverColor: "#000"

Available Options

shapeOptionalThe shape of the icons. default value: empty
iconColorOptionalThe color of the icons at the normal state. default value: empty
onHoverColorOptionalThe color of the icons on mouse over. default value: empty

Available Values


  • [empty] (for round shape)
  • square


  • [Any Color Code] (HEX, RGBA, etc..)
  • [empty] (for default color)


  • [Any Color Code] (HEX, RGBA, etc..)
  • [empty] (for default color)