Skip to content

A CSS library for creating ultimate social media share buttons with icons easily

Notifications You must be signed in to change notification settings


Folders and files

Last commit message
Last commit date

Latest commit



76 Commits

Repository files navigation


Socializer is a CSS library to create customizable social media share buttons/icons and floating sharebar easily with handful of predefined classes and styles.

Socializer CSS

Social buttons/icons generator


  • 35 icon color schemes including all famous social media sites
  • 6 button shapes, 9 hover styles, 5 text styles, 3 layout types, 17 border, background and shadow styles in total = 13770 different customizations. See below for the class names.
  • Support for vertical icons
  • Support for floating sharebar, both vertical and horizontal.
  • Support for more menu
  • Supports custom icon fonts or images.


Socializer css library requires the following resources to be included and the HTML for the social button can be created either with or without socializer.js

  • The socializer css library itself
  • Fontawesome icon font or any other icon font or custom image icons
  • Socializer.js to automatically generate HTML on the fly, similar to a social button widget is required.

There is a web app to generate social buttons code for socializer CSS library.


<link rel="stylesheet" type="text/css" href="">
<link rel="stylesheet" href="">

With socializer.js

<!-- Turns into social sharebar -->
<div class="socializer" data-features="32px,circle,icon-white,pad" data-sites="facebook,twitter,pinterest,print,email,rss"></div>

<script src=""></script>
    socializer( '.socializer' );

Without socializer.js

<ul class="socializer sr-32px sr-icon-white"> <!-- Customization class names go here -->
    <li class="sr-facebook">
        <a href="#"><i class="fab fa-facebook"></i></a>
    <li class="sr-linkedin">
        <a href="#"><i class="fab fa-linkedin-in"></i></a>
    <li class="sr-whatsapp">
        <a href="#"><i class="fab fa-whatsapp"></i></a>

Available CSS classes

Social bar is identified with the class socializer. All classes below should be prefixed with sr-

Sizes Shapes Hover effects Layout types Text styles Border colors Background colors Icon colors Border styles Others
32px circle opacity fluid text-in bdr-white bg-white icon-white bdr-sm pad
40px squircle rotate vertical text-out bdr-dark bg-dark icon-dark bdr-md multiline
48px squircle-2 zoom text-below bdr-grey bg-grey icon-grey bdr-lg
64px diamond shrink text-hover bg-none icon-none bdr-none
drop float
ribbon sink

Floating Sharebar

Socializer.css has support for floating sharebars too. The main sharebar should be wrapped in a tag which holds the floating sharebar related classes.

<div class="sr-sharebar sr-sb-hl sr-sb-top">
    <!-- Socializer sharebar HTML -->

Available floating sharebar CSS classes

Sharebar is identified with the sr-sharebar class assigned to the parent of the social bar. All classes below should be prefixed with sr-sb-.

Type Position Themes
hl top white
vl bottom dark


Click here to see the docs of this library.

WordPress plugin

WP Socializer is a wordpress plugin for social media buttons and it uses socializer.css for sharebar. Check it out


Copyright (c) 2023 Aakash Chakravarthy, released under the MIT License.


A CSS library for creating ultimate social media share buttons with icons easily







No releases published