React js UI example. Social Sharing Buttons with counter

React js UI example and template, Social Sharing Buttons with counter! . Take a look at this UI example and see how it can enhance your project. Your can copy or download the code and use it in your project. Don't forget to browse our library of other free React Native templates for even more design and functionality inspiration. Happy coding!
Tags: social, buttons

1. First, we need fresh reactjs setup, and for that, we need to run below commands into out terminal, and also we should have latest node version installed on our system:

npx create-react-app my-awesome-project

cd my-awesome-project

npm start

2. Now we need to run below commands into our project terminal to get bootstrap and related modules into our reactjs application:

npm install [email protected] --save

npm start //For start project again

3. Finally for the main output, we need to add below code into our my-awesome-project/src/App.js file or if you have fresh setup then you can replace my-awesome-project/src/App.js file code with below code:

import React from 'react';
import './App.css';
import 'bootstrap/dist/css/bootstrap.min.css';


function App() {
  
	return (
		<div>
			<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css"/>
<h4 class="text-center">find more in <a href="http://www.jquery2dotnet.com/" target="__blank">jquery2dotnet</a></h4>
<div class="container bootstrap snippets bootdey">
    <div class="row social">
        <div class="col-md-3">
            <a href="#/">
                <div class="panel panel-default twitter">
                    <div class="panel-body">
                        <small class="social-title">Twitter</small>
                        <h3 class="count">
                            12,000</h3>
                        <i class="fa fa-twitter"></i>
                    </div>
                </div>
            </a>
        </div>
        <div class="col-md-3">
            <a href="#/">
                <div class="panel panel-default google-plus">
                    <div class="panel-body">
                        <small class="social-title">Google+</small>
                        <h3 class="count">
                            13,000</h3>
                        <i class="fa fa-google-plus"></i>
                    </div>
                </div>
            </a>
        </div>
        <div class="col-md-3">
            <a href="#/">
                <div class="panel panel-default facebook-like">
                    <div class="panel-body">
                        <small class="social-title">Facebook Like</small>
                        <h3 class="count">
                            14,000</h3>
                        <i class="fa fa-facebook"></i>
                    </div>
                </div>
            </a>
        </div>
        <div class="col-md-3">
            <a href="#/">
                <div class="panel panel-default visitor">
                    <div class="panel-body">
                        <small class="social-title">Website Visitor</small>
                        <h3 class="count">
                            15,000</h3>
                        <i class="fa fa-user"></i>
                    </div>
                </div>
            </a>
        </div>
    </div>
</div>
		</div>
	);
}
export default App;

4. Now we need to add below code into our my-awesome-project/src/App.css file :

body { margin-top:20px; }
.social-title {text-transform: uppercase;letter-spacing: 1px; }
.count { font-size: 37px;margin-top: 10px;margin-bottom: 10px; }
.fa { font-size: 100px;text-align: right;position: absolute;top: 7px;right: 27px;outline: none; }
.social .panel { color:#fff;text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); }
.social a { text-decoration:none; }
.twitter { background-color:#00acee; }
.google-plus { background-color:#dd4b39; }
.facebook-like { background-color:#3b5998; }
.visitor { background-color:#eb6d20; }

Similar snippets

React js template and ui example simple user profile presentation social

simple user profile presentation social

React js template and ui example profile cards with social links

profile cards with social links

React js template and ui example Drive files documents user profile

Drive files documents user profile

React js template and ui example vs voting system

vs voting system

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example chat app

chat app

React js template and ui example user profile bio graph and total sales

user profile bio graph and total sales

React js template and ui example General Search Results

General Search Results