ReactJS MDBootstrap Navbar Component Last Updated : 11 Apr, 2025 Comments Improve Suggest changes Like Article Like Report MDBootstrap is a Material Design and bootstrap-based react UI library that is used to make good-looking webpages with its seamless and easy-to-use component. In this article, we will know how to use Navbar Component in ReactJS MDBootstrap. Navbar Component is used in every website to make it more user-friendly so that the navigation through the website becomes easy and the user can directly search for the topic of their interest.Properties:tag: Defines tag of the MDBNavbar element.className: Add custom class to MDBNavbar.color: Add text color to all elements.expand: Set type of navbar expand to element.bgColor: Set color of the background to the navbar.light: The set light color of the background to the navbar.dark: The set dark color of the background to the navbar.Syntax:<MDBNavbar> GeeksforGeeks</MDBNavbar>Creating React Application And Installing Module:Step 1: Create a React application using the following command.npx create-react-app foldernameStep 2: After creating your project folder i.e. foldername, move to it using the following command.cd foldernameStep 3: Install ReactJS MDBootstrap in your given directory.npm i mdb-ui-kitnpm i mdb-react-ui-kitProject Structure: It will look like the following.Step to Run Application: Run the application from the root directory of the project, using the following command.npm startExample 1: This is the basic example that shows how to use Footer Component. App.js import React from "react"; import { MDBNavbar, MDBContainer, MDBNavbarBrand, } from 'mdb-react-ui-kit'; export default function App() { return ( <div id='gfg'> <h2>GeeksforGeeks</h2> <h4>ReactJS MDBootstrap Navbar Component</h4> <MDBNavbar bgColor='warning'> <MDBContainer> <MDBNavbarBrand href= 'https://www.geeksforgeeks.org/'>GeeksforGeeks</MDBNavbarBrand> </MDBContainer> </MDBNavbar> </div> ); } Output:Example 2: In this example, we will know how to make a navbar component. App.js import React from "react"; import { MDBNavbar, MDBContainer, MDBNavbarBrand, } from 'mdb-react-ui-kit'; export default function App() { return ( <div id='gfg'> <h2>GeeksforGeeks</h2> <h4>ReactJS MDBootstrap Navbar Component</h4> <MDBNavbar bgColor='danger'> <MDBContainer> <MDBNavbarBrand>React</MDBNavbarBrand> <MDBNavbarBrand>MDBootstrap</MDBNavbarBrand> <MDBNavbarBrand>Navbar</MDBNavbarBrand> <MDBNavbarBrand>GeeksforGeeks</MDBNavbarBrand> </MDBContainer> </MDBNavbar> </div> ); } Output: Comment More infoAdvertise with us Next Article ReactJS MDBootstrap Navbar Component taran910 Follow Improve Article Tags : Web Technologies ReactJS MDBootstrap Similar Reads ReactJS MDBootstrap Range Component MDBootstrap is a Material Design and bootstrap-based react UI library that is used to make good-looking webpages with its seamless and easy-to-use component. In this article, we will know how to use Range Component in ReactJS MDBootstrap. The Range component allows users to make selections from a ra 2 min read ReactJS MDBootstrap Popovers Component MDBootstrap is a Material Design and bootstrap-based react UI library that is used to make good-looking webpages with its seamless and easy-to-use component. In this article, we will know how to use Popovers Component in ReactJS MDBootstrap. The Popovers component is used to make a button that will 2 min read ReactJS MDBootstrap Pills Component MDBootstrap is a Material Design and bootstrap-based react UI library that is used to make good-looking webpages with its seamless and easy-to-use component. In this article, we will know how to use Pills Component in ReactJS MDBootstrap. Pills Component are used to improve website clarity and incre 3 min read ReactJS MDBootstrap Progress Component MDBootstrap is a Material Design and bootstrap-based react UI library that is used to make good-looking webpages with its seamless and easy-to-use component. In this article, we will know how to use Progress Component in ReactJS MDBootstrap. The Progress component is used to depict the progress of a 2 min read ReactJS MDBootstrap Tabs Component MDBootstrap is a Material Design and bootstrap-based react UI library that is used to make good-looking webpages with its seamless and easy-to-use component. In this article, we will know how to use Tabs Component in ReactJS MDBootstrap. Tabs Component are used to improve website clarity and increas 3 min read ReactJS MDBootstrap Card Component Reactstrap is a bootstrap-based react UI library that is used to make good-looking webpages with its seamless and easy-to-use component.In this article, we will know how to use Card Component in ReactJS MDBootstrap. A card is a flexible and extensible content container. It includes options for heade 3 min read ReactJS MDBootstrap Header Component MDBootstrap is a Material Design and bootstrap-based react UI library that is used to make good-looking webpages with its seamless and easy-to-use component. In this article, we will know how to use Header Component in ReactJS MDBootstrap. Header Component is used to add the header in the element.Sy 2 min read ReactJS MDBootstrap Footer Component MDBootstrap is a Material Design and bootstrap-based react UI library that is used to make good looking webpages with its seamless and easy-to-use component. In this article, we will know how to use Footer Component in ReactJS MDBootstrap. Footer Component is used to add the footer in the element.Pr 2 min read ReactJS MDBootstrap Badges Component MDBootstrap is a Material Design and bootstrap-based react UI library that is used to make good-looking webpages with its seamless and easy-to-use component.In this article we will know how to use Badges Component in ReactJS MDBootstrap. Badges Component is used to present the text as the badges.Pro 2 min read ReactJS MDBootstrap Switch Component MDBootstrap is a Material Design and bootstrap-based react UI library that is used to make good-looking webpages with its seamless and easy-to-use component. In this article, we will know how to use Switch Component in ReactJS MDBootstrap. The switch component is used to indicate the on/off state of 2 min read Like