React js UI example. Social media collage

React js UI example and template, Social media collage! . 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,media,links

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 href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"/>
<div class="container collage">
    <div class="social-collage">
        
    	<div class="social-container">
    	
    		
    		<a href="#/">
	    		<div class="social-item facebook">
	    			<i class="fa fa-facebook"></i>
	    		</div>
    		</a>
    		
    		
    		<a href="#/">
	    		<div class="social-item google-plus">
	    			<i class="fa fa-google"></i>
	    		</div>
    		</a>
    		
    		
    		<a href="#/">
	    		<div class="social-item linkedin">
	    			<i class="fa fa-linkedin"></i>
	    		</div>
    		</a>
    		
    		
    		<a href="#/">
	    		<div class="social-item twitter">
	    			<i class="fa fa-twitter"></i>
	    		</div>
    		</a>
    		
    		
    		<a href="#/">
	    		<div class="social-item pinterest">
	    			<i class="fa fa-pinterest"></i>
	    		</div>
    		</a>
    		
    		
    		<a href="#/">
	    		<div class="social-item github">
	    			<i class="fa fa-github"></i>
	    		</div>
    		</a>
    		
    		
    		<a href="#/">
    			<div class="social-item flickr">
    				<i class="fa fa-flickr"></i>
    			</div>
    		</a>
    		
    		
    		<a href="#/">
    			<div class="social-item instagram">
    				<i class="fa fa-instagram"></i>
    			</div>
    		</a>
    		
    		
    		<a href="#/">
    			<div class="social-item youtube">
    				<i class="fa fa-youtube"></i>
    			</div>
    		</a>
    		
    		
    		<a href="#/">
    			<div class="social-item bitcoin">
    				<i class="fa fa-bitcoin"></i>
    			</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 :

@import url('http://fonts.googleapis.com/css?family=Open+Sans:300,400italic,400,600');

.collage{
    margin-top:40px;    
}
/* General */
body {
    color: #666666;
    font-size: 13px;
	line-height: 23px;
	background: #fff;
	font-family: 'Open Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
}

a{
	text-decoration: none;
	color: #777;
}
a:hover,a:active,a:focus {
	outline: 0;
	text-decoration: none;
	color: #999;
}

/* Social Media */
.facebook {	background: #3280e7; }
.facebook:hover { background: #134fa0; }
.twitter { background: #32c8de;}
.twitter:hover {	background: #188392;}
.google-plus {background: #f96f4a;}
.google-plus:hover {	background: #eb6440;}
.linkedin  {	background: #729fda;}
.linkedin:hover {background: #3069b6;}
.pinterest {	background: #ed5441;}
.pinterest:hover { background: #b72411;}
.dropbox {background: #32c8de;}
.dropbox:hover {	background: #188392;}
.bitcoin {background: #f8a841;}
.bitcoin:hover {	background: #cc7607;}
.foursquare {background: #22bed4;}
.foursquare:hover {background: #146f7c;}
.flickr { background: #ff61e7;}
.flickr:hover {	background: #fa00d4;}
.github {background: #666666;}
.github:hover {	background: #333333;}
.instagram {	background: #d6917a;}
.instagram:hover {background: #b35637;}
.skype {background: #32c8de;}
.skype:hover {background: #188392;}
.tumblr {background: #84a1c8;}
.tumblr:hover {background: #476d9f;}
.vimeo {background: #32c8de;}
.vimeo:hover {background: #188392;}
.dribbble{background: #ff2edf;}
.dribbble:hover {background: #c700a9;}
.youtube {background: #ed5441;}
.youtube:hover {	background: #b72411;}

/* UI X */
body{
	background:#f4f8fd;
}
.ui-44{
	margin:170px 0px;
}
.social-collage .social-container {
	position: relative;
	max-width: 180px;
	height: 200px;
	margin: 100px auto;
}
.social-collage .social-item {
	position: absolute;
	text-align: center;
	border: 1px solid #fff;
	-webkit-transition: all 0.35s ease-out;
	   -moz-transition: all 0.35s ease-out;
			transition: all 0.35s ease-out;
}
.social-collage .social-item i { color: #fff; }
.social-collage .facebook { 
	top: 0;
	left: 0;
	z-index: 115;
	width: 180px;
	height: 200px;
	color: #fff;
	font-size: 100px;
	line-height: 200px;
}
.social-collage .google-plus {
	top: 100%;
	left: 100%;
	z-index: 6;
	width: 90px;
	height: 100px;
	line-height: 100px;
	margin-left: -40px;
	font-size: 50px;
}
.social-collage .linkedin {
	top: 100%;
	right: 40px;
	z-index: 7;
	width: 87px;
	height: 110px;
	font-size: 40px;
	line-height: 110px;
}
.social-collage .twitter {
	top: 20px;
	right: 100%;
	z-index: 8;
	width: 120px;
	height: 130px;
	font-size: 50px;
	line-height: 130px;
}
.social-collage .pinterest {
	bottom: 100%;
	right: 100%;
	z-index: 9;
	width: 80px;
	height: 90px;
	margin-bottom: -20px;
	font-size: 35px;
	line-height: 90px;
}
.social-collage .github {
	bottom: 0;
	left: 100%;
	z-index: 10;
	width: 80px;
	height: 80px;
	font-size: 35px;
	line-height: 80px;
}
.social-collage .instagram {
	bottom: 80px;
	left: 100%;
	z-index: 10;
	width: 130px;
	height: 150px;
	font-size: 80px;
	line-height: 150px;
}
.social-collage .flickr {
	bottom: 100%;
	left: 0;
	z-index: 11;
	width: 120px;
	height: 120px;
	font-size: 50px;
	line-height: 120px;
}
.social-collage .youtube {
	top: 150px;
	right: 100%;
	z-index: 10;
	margin-right: -53px;
	width: 150px;
	height: 170px;
	font-size: 80px;
	line-height: 170px;
}
.social-collage .bitcoin {
	bottom: 100%;
	right: 0px;
	z-index: 10;
	width: 64px;
	height: 80px;
	line-height: 80px;
	font-size: 27px;
}
/* Mobile phones */
@media (max-width: 480px){
	.social-collage .social-container  {
		max-width: 250px !important;
	}
	.social-collage .social-item { 
		margin-bottom: 0px !important;
		margin-left: 0px !important;
		width: 49% !important; 
	}
}
/* Tablets */
@media (max-width: 767px){
	.social-collage .social-container  {
		width: 100%;
		max-width: 500px;
		margin: 0 auto;
		height: auto;
	}
	.social-collage .social-item {
		position: static;
		display: inline-block;
		width: 24%;
		height: auto;
		font-size: 50px;
		line-height: 80px;
		margin: 0 auto;
		margin-top: 3px;
		padding: 20px 0;
	} 
}

Similar snippets

React js template and ui example bs4 beta media user list

bs4 beta media user list

React js template and ui example user page with input post

user page with input post

React js template and ui example Social profile head

Social profile head

React js template and ui example Colored Social icons

Colored Social icons

React js template and ui example Forum post list

Forum post list

React js template and ui example Create new customer form

Create new customer form

React js template and ui example bs5 forum list

bs5 forum list

React js template and ui example bs5 dark footer

bs5 dark footer