React js UI example. Responsive Parallax Navbar

React js UI example and template, Responsive Parallax Navbar! . 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: navbar,responsive

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="navbar navbar-inverse navbar-fixed-top navbar-default" role="navigation">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span>
            <span class="glyphicon glyphicon-bar"></span>
            <span class="glyphicon glyphicon-bar"></span> <span class="glyphicon glyphicon-bar"></span>
        </button>
    </div>
    <div class="container bootstrap snippets bootdey">
        <div class="navbar-header">
            <div class="small-logo-container"> <a class="small-logo" href="#/">↥Small Logo</a>
            </div>
        </div>
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li class="active"><a href="#/">Active</a>
                </li>
                <li><a href="#/">Link</a>
                </li>
                <li><a href="#/">Link</a>
                </li>
                <li><a href="#/">Link</a>
                </li>
            </ul>
        </div>
        
    </div>
</div>
<div class="container big-logo-row">
    <div class="container bootstrap snippets bootdey">
        <div class="row">
            <div class="col-xs-12 big-logo-container">
                 <h1 class="big-logo">↧Big Logo</h1>
            </div>
            
        </div>
        
    </div>
    
</div>

<div class="container bootstrap snippets bootdey">
    <div class="row">
        <div class="col-lg-5 col-md-6 col-sm-8">
             <h2>Lorem ipsum</h2>
            <p>Dolor sit amet, consectetur adipisicing elit. Id maxime repellat repellendus
                porro voluptas laudantium similique eveniet quis perferendis beatae commodi
                sunt ullam provident dolorum doloribus esse accusamus dolores. Corrupti.</p>
            <p>Consectetur incidunt voluptatibus ipsa nisi esse eos deleniti repudiandae
                at quo sit praesentium nemo optio perspiciatis sequi quaerat voluptates
                minus reprehenderit doloremque accusamus et quisquam nesciunt sunt consequatur
                explicabo excepturi!</p>
            <p>Sequi facilis ea dolor asperiores quibusdam eveniet optio corporis et
                accusantium voluptatem architecto quis iste recusandae molestias dolorem
                soluta ex blanditiis illo impedit laborum iusto? Iure sapiente eos molestiae
                est?</p>
            <p>Numquam delectus recusandae nesciunt rem itaque harum corporis maxime
                hic iste molestias adipisci excepturi ullam libero necessitatibus cum eum
                modi minus obcaecati est nemo quia velit earum perferendis consectetur
                porro?</p>
            <p>Accusamus dicta consequatur quos ipsum rerum tempora assumenda ex excepturi
                itaque soluta magnam debitis voluptatibus neque eos porro. Neque tempora
                ea beatae delectus facere quas voluptas accusamus maxime enim consequuntur.</p>
            <p>Saepe obcaecati facilis dolore numquam nam quod laudantium. Rerum esse
                voluptas eum aut porro beatae adipisci exercitationem ab voluptatum corporis
                quas placeat sapiente nisi ut officia eaque debitis. Corrupti eveniet!</p>
            <p>Eius natus numquam tempore alias ipsam commodi aut similique corporis
                beatae velit maxime obcaecati voluptatibus cum repudiandae minus inventore
                doloremque optio saepe nihil eum reprehenderit quas consequuntur perspiciatis
                quo quam.</p>
            <p>Ea perspiciatis incidunt unde ipsam cupiditate necessitatibus magnam quod
                odit. Beatae adipisci non praesentium tenetur dolores fugit repellat consequuntur
                unde aperiam eligendi ipsa doloribus corporis officiis ipsam quod numquam
                assumenda!</p>
            <p>Ullam ut ex cum corporis numquam quia hic aut nisi itaque laboriosam eaque
                earum commodi nulla magni voluptate reiciendis laborum esse odit blanditiis
                aperiam veniam eos velit similique eveniet ad.</p>
            <p>Esse veritatis inventore explicabo hic consequuntur ex autem praesentium
                quaerat blanditiis illo deleniti dolorum porro tenetur. Repellat sed repellendus
                natus cum molestias numquam vitae vel eum voluptatem praesentium tempora
                quae.</p>
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Est nostrum
                consequatur odit eius blanditiis sit mollitia ut porro cumque nam repudiandae
                accusantium nisi excepturi corporis incidunt inventore ipsam? Officiis
                eum!</p>
            <p>Nostrum minus dicta quod totam autem ipsum illo velit labore obcaecati
                est ducimus ullam sit iusto ea pariatur sint nulla perferendis modi dolorum
                cumque non laboriosam ratione maiores possimus numquam!</p>
            <p>Deserunt ex dolor atque sapiente suscipit aspernatur et iste necessitatibus
                enim magni blanditiis quaerat rerum perspiciatis expedita magnam nihil
                neque natus quos quidem veritatis eligendi dolorem itaque laboriosam beatae
                dolores!</p>
            <p>Nostrum tenetur rem cum tempora sapiente at possimus assumenda ex quos
                illum facilis quibusdam facere voluptatum. Necessitatibus tempore animi
                earum inventore quaerat sit velit totam rem nulla consequuntur dolorem
                architecto!</p>
            <p>Illum doloremque ipsa magni fugiat explicabo nam officiis expedita architecto
                voluptatem beatae deserunt optio iusto nostrum facere voluptatum. Tempora
                dolore quasi vero aut voluptatem eaque nobis iusto enim dignissimos molestias!</p>
        </div>
        
    </div>
    
</div>

		</div>
	);
}
export default App;

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



/* *********************************
   Some Style Overrides on Bootstrap
  ********************************** */
.navbar-inverse {
   background: rgba(62,195,246,0);
  border-bottom: none;
}
.navbar-inverse .navbar-toggle {
  border: 1px solid #333;
  border-color: rgba(255,255,255,0.7);
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
   border-color: transparent;
  @media (max-width: 767px) {
    background: rgba(255,255,255,0.75);
  }
}
.navbar-inverse .navbar-nav > li > a {
color: black;
  

}
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
color: #22F;

}
ul.nav {
}

/* *********************************
           Toolbar Logo
  ********************************** */
.small-logo-container {
    padding-top: 50px;
    height: 50px;
    overflow: hidden;
  }

.small-logo {
  color: white;
  font-size: 2.5em;
  padding-bottom:  2px;
}

/* *********************************
           Big Logo
  ********************************** */
.big-logo-row {
  background: gold;
  
  .big-logo-container {
    padding-top: 100px;
  }
  
  h1 {
    font-size: 8em;
    margin:0;
    padding:0 0 15px 0;
    
    @media (min-width: 400px) { font-size: 4.5em; }
    @media (min-width: 440px) { font-size: 5.5em; }
    @media (min-width: 500px) { font-size: 6.5em; }
    @media (min-width: 630px) { font-size: 7.5em;  }
    @media (min-width: 768px) { font-size: 9em; padding-bottom: 15px * 2; }
    @media (min-width: 1200px) { font-size: 12em; }
  }
}

Similar snippets

React js template and ui example  NavBar Menu Dropdowns

NavBar Menu Dropdowns

React js template and ui example bs4 navbar with dropdown animations

bs4 navbar with dropdown animations

React js template and ui example Dropdown animation with CSS

Dropdown animation with CSS

React js template and ui example Google plus navbar style

Google plus navbar style