React js UI example. Box gallery images

React js UI example and template, Box gallery images! . 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: images,gallery,users

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>
			<div class="container">
<div class="superbox">
    <div class="superbox-list">
        <img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar1.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar2.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar3.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar4.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar5.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar3.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar2.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar2.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar3.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar5.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar2.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar4.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar1.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar2.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar3.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar4.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar5.png"  alt="" class="superbox-img"/>
	</div>
    <div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar2.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar3.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar4.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar5.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar1.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar2.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar2.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar3.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar4.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar5.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar5.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar4.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar4.png"  alt="" class="superbox-img"/>
	</div>
	<div class="superbox-list">
		<img src="https://bootdey.com/img/Content/avatar/avatar1.png"  alt="" class="superbox-img"/>
	</div>
</div>
</div>

<div class="modal fade" id="showPhoto" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">Modal title</h4>
      </div>
      <div class="modal-body">
        
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      </div>
    </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;}


.superbox {
    font-size: 0
}

.superbox-list {
    display: inline-block;
    width: 12.5%;
    margin: 0;
    position: relative
}

.superbox-list.active:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    border: 10px solid transparent;
    border-bottom-color: #2d353c;
    margin-left: -10px
}

.superbox-show {
    text-align: center;
    position: relative;
    background: #2d353c;
    width: 100%;
    float: left;
    padding: 25px;
    display: none
}

.superbox-img {
    max-width: 100%;
    width: 100%;
    cursor: pointer
}

.superbox-current-img {
    -webkit-box-shadow: 0 5px 35px rgba(0, 0, 0, .65);
    box-shadow: 0 5px 35px rgba(0, 0, 0, .65);
    max-width: 100%
}

.superbox-img:hover {
    opacity: .8
}

.superbox-close {
    opacity: .7;
    cursor: pointer;
    position: absolute;
    top: 25px;
    right: 25px;
    background: url(assets/plugins/superbox/img/close.gif) center center no-repeat;
    width: 35px;
    height: 35px
}

Similar snippets

React js template and ui example manage users

manage users

React js template and ui example Profile with timeline

Profile with timeline

React js template and ui example Awesome portfolio

Awesome portfolio

React js template and ui example bs4 Trending Articles

bs4 Trending Articles

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 Whatsapp web chat template

Whatsapp web chat template

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

user profile bio graph and total sales