React js UI example. Social navigation box

React js UI example and template, Social navigation box! . 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!

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>
			
<script src="https://use.fontawesome.com/cb2d0db4c2.js"></script>
<div class="container">
    <div class="row">
        <div class="col-md-4 h col-xs-12">
            <ul class="nav nav-tabs nav-justified">
                <li class="border-bottom-active" role="presentation">
                    <a class="home" href="#home">
                        Home
                        <span class="badge">
                            12
                        </span>
                    </a>
                </li>
                <li class="profile" role="presentation">
                    <a href="#profile">
                        Profile
                    </a>
                </li>
                <li class="messages" role="presentation">
                    <a href="#messages">
                        Messages
                        <span class="badge">
                            3
                        </span>
                    </a>
                </li>
            </ul>
            <div class="row ">
                <div class="col-md-12 ">
                    <div class=" row" id="home">
                        <div class="col-md-12 ">
                            <div class="row">
                                <div class="col-md-3 ">
                                    <div class="media-left media-middle">
                                        <a href="#/">
                                            <img alt="" class="media-object img-circle" src="https://bootdey.com/img/Content/avatar/avatar1.png"/>
                                        </a>
                                    </div>
                                </div>
                                <div class="col-md-9">
                                    <div class="col-md-12 content">
                                        <div class="list-group">
                                            <a class="list-group-item " href="#/">
                                                <h4 class="list-group-item-heading">
                                                    Elio Zac
                                                </h4>
                                                <p class="list-group-item-text">
                                                    OMG!
                                                </p>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-3">
                                    <div class="media-left media-middle">
                                        <a href="#/">
                                            <img alt="img/boat.jpg" class="media-object img-circle" src="https://bootdey.com/img/Content/avatar/avatar2.png"/>
                                        </a>
                                    </div>
                                </div>
                                <div class="col-md-9">
                                    <div class="col-md-12 content">
                                        <div class="list-group">
                                            <a class="list-group-item " href="#/">
                                                <h4 class="list-group-item-heading">
                                                    Clarence Etwood
                                                </h4>
                                                <p class="list-group-item-text">
                                                    Come here baby.
                                                </p>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-3">
                                    <div class="media-left media-middle">
                                        <a href="#/">
                                            <img alt="img/boat.jpg" class="media-object img-circle" src="https://bootdey.com/img/Content/avatar/avatar3.png"/>
                                        </a>
                                    </div>
                                </div>
                                <div class="col-md-9">
                                    <div class="col-md-12 content">
                                        <div class="list-group">
                                            <a class="list-group-item " href="#/">
                                                <h4 class="list-group-item-heading">
                                                    Rick Stark
                                                </h4>
                                                <p class="list-group-item-text">
                                                    Bitch!
                                                </p>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-3">
                                    <div class="media-left media-middle">
                                        <a href="#/">
                                            <img alt="img/boat.jpg" class="media-object img-circle" src="https://bootdey.com/img/Content/avatar/avatar4.png"/>
                                        </a>
                                    </div>
                                </div>
                                <div class="col-md-9">
                                    <div class="col-md-12 content">
                                        <div class="list-group">
                                            <a class="list-group-item " href="#/">
                                                <h4 class="list-group-item-heading">
                                                    Frank Ziu!
                                                </h4>
                                                <p class="list-group-item-text">
                                                    Come on!
                                                </p>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <nav aria-label="...">
                            <ul class="pager">
                                <li class="previous disabled">
                                    <a href="#/">
                                        <span aria-hidden="true">
                                            ←
                                        </span>
                                        Older
                                    </a>
                                </li>
                                <li class="next">
                                    <a href="#/">
                                        Newer
                                        <span aria-hidden="true">
                                            →
                                        </span>
                                    </a>
                                </li>
                            </ul>
                        </nav>
                    </div>
                    <div class="row hidden tab" id="profile">
                        <div class="col-md-12">
                            <div class="row">
                                <div class="col-md-12 text-center">
                                    <a href="">
                                        <img class="img-circle" src="https://bootdey.com/img/Content/avatar/avatar4.png"/>
                                        <i aria-hidden="true" class="fa fa-wrench ">
                                        </i>
                                    </a>
                                    <h2>Mikel Row</h2>
                                    <p>"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. "</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row hidden tab" id="messages">
                        <div class="col-md-12 content">
                            <div class="row">
                                <div class="col-md-12 content">
                                    <div class="media">
                                        <div class="media-left media-middle">
                                            <a href="#/">
                                                <img alt="img/boat.jpg" class="media-object img-circle" src="https://bootdey.com/img/Content/avatar/avatar5.png"/>
                                            </a>
                                        </div>
                                        <div class="media-body ">
                                            <h4 class="media-heading dropdown">
                                                Marko Steve
                                                <button class="btn btn-xs btn-default dropdown-toggle pull-right" data-toggle="dropdown" type="button">
                                                    <i class="fa fa-angle-down" id="box-options">
                                                    </i>
                                                </button>
                                                <ul aria-labelledby="box-options" class="dropdown-menu pull-right">
                                                    <li>
                                                        <a href="#/">
                                                            <i aria-hidden="true" class="fa fa-trash-o">
                                                            </i>
                                                            Delete
                                                        </a>
                                                    </li>
                                                </ul>
                                            </h4>
                                            <p>
                                                Look around. Stop, look around again!
                                            </p>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-12 content">
                                    <div class="media ">
                                        <div class="media-left media-middle">
                                            <a href="#/">
                                                <img alt="img/boat.jpg" class="media-object img-circle" src="https://bootdey.com/img/Content/avatar/avatar6.png"/>
                                            </a>
                                        </div>
                                        <div class="media-body">
                                            <h4 class="media-heading dropdown">
                                                Luna Jun
                                                <button aria-expanded="false" aria-haspopup="true" class="btn btn-xs btn-default dropdown-toggle pull-right" data-toggle="dropdown" type="button">
                                                    <i class="fa fa-angle-down" id="box-options">
                                                    </i>
                                                </button>
                                                <ul aria-labelledby="box-options" class="dropdown-menu pull-right">
                                                    <li>
                                                        <a href="#/">
                                                            <i aria-hidden="true" class="fa fa-trash-o">
                                                            </i>
                                                            Delete
                                                        </a>
                                                    </li>
                                                </ul>
                                            </h4>
                                            <p>
                                                Wait a moment.
                                            </p>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-12 content">
                                    <div class="media">
                                        <div class="media-left media-middle">
                                            <a href="#/">
                                                <img alt="img/boat.jpg" class="media-object img-circle" src="https://bootdey.com/img/Content/avatar/avatar1.png"/>
                                            </a>
                                        </div>
                                        <div class="media-body">
                                            <h4 class="media-heading dropdown">
                                                Jean Cyan
                                                <button aria-expanded="false" aria-haspopup="true" class="btn btn-xs btn-default dropdown-toggle pull-right" data-toggle="dropdown" type="button">
                                                    <i class="fa fa-angle-down" id="box-options">
                                                    </i>
                                                </button>
                                                <ul aria-labelledby="box-options" class="dropdown-menu pull-right">
                                                    <li>
                                                        <a href="#/">
                                                            <i aria-hidden="true" class="fa fa-trash-o">
                                                            </i>
                                                            Delete
                                                        </a>
                                                    </li>
                                                </ul>
                                            </h4>
                                            <p>
                                                OH my god!
                                            </p>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-12 content">
                                    <div class="media">
                                        <div class="media-left media-middle">
                                            <a href="#/">
                                                <img alt="img/boat.jpg" class="media-object img-circle" src="https://bootdey.com/img/Content/avatar/avatar2.png"/>
                                            </a>
                                        </div>
                                        <div class="media-body">
                                            <h4 class="media-heading dropdown">
                                                Daniel Orland
                                                <button aria-expanded="false" aria-haspopup="true" class="btn btn-xs btn-default dropdown-toggle pull-right" data-toggle="dropdown" type="button">
                                                    <i class="fa fa-angle-down" id="box-options">
                                                    </i>
                                                </button>
                                                <ul aria-labelledby="box-options" class="dropdown-menu pull-right">
                                                    <li>
                                                        <a href="#/">
                                                            <i aria-hidden="true" class="fa fa-trash-o">
                                                            </i>
                                                            Delete
                                                        </a>
                                                    </li>
                                                </ul>
                                            </h4>
                                            <p>
                                                Hello?
                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-8 ">
        </div>
            </div>
</div>
		</div>
	);
}
export default App;

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

.nav li a {
    border: none !important;
}

.border-bottom-active {
    border: none !important;
    border-bottom: 3px solid red !important;
    color: green;
}

.nav-tabs {
    margin-bottom: 30px;
}

.content {
    padding-bottom: 20px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom: 10px;
    /*border: 1px solid gray;
  background-color: ;*/
}

.media-object {
    width: 64px;
    height: 64px;
}

#profile img {
    width: 180px;
    position: relative;
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -ms-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    transition: all 1s ease 0s;
}

#profile i {
    transition: opacity 0.5s linear;
    -webkit-transition: opacity 0.5s linear;
    opacity: 0.8;
    color: blue;
    font-size: 30px;
    position: absolute;
    top: 30%;
    left: 46%;

}

#profile a .fa-wrench {
    display: none;
}

#profile a:hover .fa-wrench {
    display: inline;
    color: red;
}

#profile a:hover img {
    opacity: 0.5;
}

Similar snippets

React js template and ui example Blog user profile

Blog user profile

React js template and ui example bs4 post list

bs4 post list

React js template and ui example real estate search header

real estate search header

React js template and ui example bs4 candidates listing page

bs4 candidates listing page

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example Dashboard user count colored circle image

Dashboard user count colored circle image

React js template and ui example bs4 Responsive Dashboard Menu Cards

bs4 Responsive Dashboard Menu Cards

React js template and ui example bs4 beta user profile with activities

bs4 beta user profile with activities