React-Bootstrap Dropdowns Customization Last Updated : 28 Apr, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report React-Bootstrap Dropdowns Customization is used to make dropdown menus in React apps look and behave just the way you want. It lets you change their appearance, colors, and how they open and close, so they fit perfectly with your project's style and functionality. Custom dropdown component:You can define custom components and pass them as the "as" prop to have complete authority over how each component functions.Ensure that your custom toggle and menu components are designed to work with refs to maintain proper functionality within the React Bootstrap framework.Syntax: <Dropdown> <Dropdown.Toggle> ... </Dropdown.Toggle> <Dropdown.Menu> <Dropdown.Item> ... <Dropdown.Item> </Dropdown.menu></Dropdown>Example 1: Let us see an example of a basic react-bootstrap dropdown. JavaScript /* DropDownBasic.jsx */ import React from "react"; import Dropdown from "react-bootstrap/Dropdown"; import "./DropDownBasic.css"; const DropDownBasic = () => { return ( <Dropdown className="component"> <Dropdown.Toggle> Select an option </Dropdown.Toggle> <Dropdown.Menu> <Dropdown.Item href="#"> Option-1</Dropdown.Item> <Dropdown.Item href="#"> Option-2</Dropdown.Item> </Dropdown.Menu> </Dropdown> ); }; export default DropDownBasic; JavaScript //App.js import React from 'react'; import DropDownBasic from './DropDownBasic'; import 'bootstrap/dist/css/bootstrap.min.css'; const App = () => { return ( <div> <DropDownBasic /> </div> ); }; export default App; CSS /* DropDownBasic.css */ .component { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100vh; } Output: Example 2: Let us see an example of applying custom content in react-bootstrap. JavaScript /* DropDownCustom.js */ import React from "react"; import Dropdown from "react-bootstrap/Dropdown"; import "./DropDownCustom.css"; import { Button } from "react-bootstrap"; const DropDownCustom = () => { return ( <Dropdown className="component"> <Dropdown.Toggle variant="success"> Select an option </Dropdown.Toggle> <Dropdown.Menu> <Dropdown.Item href="#" className="icon"> 1. <i className="fas fa-home" /> </Dropdown.Item> <Dropdown.Item href="#"> 2. <Button variant="info"> component </Button> </Dropdown.Item> </Dropdown.Menu> </Dropdown> ); }; export default DropDownCustom; JavaScript //App.js import React from 'react'; import DropDownCustom from './DropDownCustom'; import 'bootstrap/dist/css/bootstrap.min.css'; const App = () => { return ( <div> <DropDownCustom /> </div> ); }; export default App; CSS /* DropDownCustom.css */ .component { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100vh; } Output: Comment More infoAdvertise with us Next Article Bootstrap 5 Dropdowns Single Button P puzitha23 Follow Improve Article Tags : Web Technologies ReactJS Geeks Premier League React-Bootstrap Geeks Premier League 2023 +1 More Similar Reads React-Bootstrap Dropdown Component React-Bootstrap is a front-end framework that was designed keeping react in mind. Dropdown Component provides a way to displaying lists of links or more actions within a menu when clicked over it. We can use the following approach in ReactJS to use the react-bootstrap Dropdown Component.Dropdown Pro 5 min read React-Bootstrap Dropdowns Drop directions The React bootstrap provides us with the bootstrap components out of the box compared to normal React, It comes with the pre-applied CSS and the themes and properties of the bootstrap component can be modified by changing the properties. The Dropdown component is used for showing dropdowns in React 3 min read React-Bootstrap Dark dropdowns React Bootstrap Dark Dropdowns are used for dark screen User Interfaces. In this article we are going to implement dark Dropdowns using React Bootstrap Dark Dropdown which contains attributes. React Bootstrap Dark DropDowns variant : It is used when we are implementing dark navbar.menuVariant: It is 2 min read Bootstrap 5 Dropdowns Split Button Bootstrap 5 Dropdowns split button is used to turn a button into a dropdown toggle with some basic markup. A dropdown button lets the user select from a number of items. Bootstrap 5  Dropdowns split button class:dropdown-toggle-split: This class is used for proper spacing around the dropdown caret i 3 min read Bootstrap 5 Dropdowns Single Button Bootstrap 5 Dropdowns Single button is used to turn a button into a dropdown toggle with some basic markup. A dropdown button lets the user select from a number of items. Bootstrap 5 Dropdowns Single Button class:dropdown-toggle: This class is used to make the button drop down.Syntax:<div class=" 2 min read React-Bootstrap API Dropdown React-bootstrap is a front-End Stylesheet library. It replaces the Bootstrap JavaScript into completely a react component. It creates a seamless front-end development experience. In this article, we will see the React-Bootstrap API Dropdown. The dropdown components are generally created when we prov 2 min read Like