How to Add MUI React Button Icon in React-Bootstrap ? Last Updated : 28 Apr, 2025 Comments Improve Suggest changes Like Article Like Report In this article, we will learn how to add the mui react button icon in react-bootstrap. Icons can be added in the react-bootstrap by importing the MUI icon component and using it within your React-Bootstrap button. React-Bootstrap is a front-end framework that was designed keeping React in mind. Steps to Create React Application And Installing Modules:Create a React application using the following command:npx create-react-app gfgproject After creating your project folder i.e. folder name, move to it using the following command:cd gfgproject After creating the ReactJS application, Install the required module using the following command:npm install react-bootstrap bootstrap Install MUI reactnpm install @mui/icons-material Step to Run Application: Run the application using the following command from the root directory of the project: npm start Project Structure:Example 1: In this example, we will add mui react button icon to a react-bootstrap app. JavaScript import "bootstrap/dist/css/bootstrap.css"; import Button from "react-bootstrap/Button"; import { FileUpload } from "@mui/icons-material"; export default function App() { return ( <div style= {{ display: "block", width: 700, padding: 30 }}> <h2> How to add MUI react icons in react-bootstrap </h2> <Button variant="success"> <FileUpload /> Upload file </Button> </div> ); } Output: Example 2: JavaScript import "bootstrap/dist/css/bootstrap.css"; import Button from "react-bootstrap/Button"; import ButtonGroup from "react-bootstrap/ButtonGroup"; import { FormatAlignCenter, FormatAlignLeft, FormatAlignRight, } from "@mui/icons-material"; export default function App() { return ( <div style= {{ display: "block", width: 700, padding: 30 }}> <h2> How to add MUI react icons in react-bootstrap </h2> <ButtonGroup aria-label="Basic example"> <Button variant="primary"> <FormatAlignLeft /> </Button> <Button variant="success"> <FormatAlignCenter /> </Button> <Button variant="warning"> <FormatAlignRight /> </Button> </ButtonGroup> </div> ); } Output: Create Quiz Comment T tarunsinghwap7 Follow 0 Improve T tarunsinghwap7 Follow 0 Improve Article Tags : Web Technologies ReactJS Geeks Premier League React-Bootstrap Geeks Premier League 2023 +1 More Explore React FundamentalsReact Introduction6 min readReact Environment Setup3 min readReact JS ReactDOM2 min readReact JSX5 min readReactJS Rendering Elements3 min readReact Lists4 min readReact Forms4 min readReactJS Keys4 min readComponents in ReactReact Components4 min readReactJS Functional Components4 min readReact Class Components3 min readReactJS Pure Components4 min readReactJS Container and Presentational Pattern in Components2 min readReactJS PropTypes5 min readReact Lifecycle7 min readReact HooksReact Hooks8 min readReact useState Hook5 min readReactJS useEffect Hook5 min readRouting in ReactReact Router5 min readReact JS Types of Routers10 min read Advanced React ConceptsLazy Loading in React and How to Implement it ?4 min readReactJS Higher-Order Components5 min readCode Splitting in React4 min readReact ProjectsCreate ToDo App using ReactJS3 min readCreate a Quiz App using ReactJS4 min readCreate a Coin Flipping App using ReactJS3 min readHow to create a Color-Box App using ReactJS?4 min readDice Rolling App using ReactJS4 min readGuess the number with React3 min read Like