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: Comment T tarunsinghwap7 Follow Improve T tarunsinghwap7 Follow Improve Article Tags : Web Technologies ReactJS Geeks Premier League React-Bootstrap Geeks Premier League 2023 +1 More Explore React Tutorial 5 min read React FundamentalsReact Introduction 6 min read React Environment Setup 3 min read React JS ReactDOM 2 min read React JSX 5 min read ReactJS Rendering Elements 3 min read React Lists 4 min read React Forms 4 min read ReactJS Keys 4 min read Components in ReactReact Components 4 min read ReactJS Functional Components 4 min read React Class Components 3 min read ReactJS Pure Components 4 min read ReactJS Container and Presentational Pattern in Components 2 min read ReactJS PropTypes 5 min read React Lifecycle 7 min read React HooksReact Hooks 8 min read React useState Hook 5 min read ReactJS useEffect Hook 5 min read Routing in ReactReact Router 5 min read React JS Types of Routers 10 min read Advanced React ConceptsLazy Loading in React and How to Implement it ? 4 min read ReactJS Higher-Order Components 5 min read Code Splitting in React 4 min read React ProjectsCreate ToDo App using ReactJS 3 min read Create a Quiz App using ReactJS 4 min read Create a Coin Flipping App using ReactJS 3 min read How to create a Color-Box App using ReactJS? 4 min read Dice Rolling App using ReactJS 4 min read Guess the number with React 3 min read Like