ReactJS MDBootstrap Sizing Utilities Last Updated : 11 Apr, 2025 Summarize Comments Improve Suggest changes Share 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 Sizing Utilities in ReactJS MDBootstrap. Sizing Utilities allows a user to change the sizing of the component.Syntax:<p className="w-25 p-3">GeeksforGeeks</p>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 Sizing Utilities. App.js import React from "react"; export default function App() { return ( <div id="gfg"> <h2>GeeksforGeeks</h2> <h4>ReactJS MDBootstrap Sizing</h4> <div id='a1' className="w-25 p-3">Width 1</div> <br /> <h2 id='a2' className="w-50 p-3">Width 2</h2> </div> ); } Index.css #gfg{ margin: 40px; } #a1{ background-color: green; } #a2{ background-color: red; } Output:Example 2: In this example, we will know how to add images in Sizing Utilities. App.js import React from "react"; export default function App() { return ( <div id="gfg"> <h2>GeeksforGeeks</h2> <h4>ReactJS MDBootstrap Sizing</h4> <img src="https://media.geeksforgeeks.org/wp-content/uploads/20210604014825/QNHrwL2q-100x100.jpg" className="mw-100" /> </div> ); } Output: Comment More infoAdvertise with us Next Article Angular MDBootstrap Sizing Utilities T taran910 Follow Improve Article Tags : Web Technologies ReactJS MDBootstrap Similar Reads ReactJS MDBootstrap Spacing Utilities 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 Spacing Utilities in ReactJS MDBootstrap. The Spacing Utilities is used to include a number of respon 2 min read ReactJS MDBootstrap Border Utilities 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 Border Utilities in ReactJS MDBootstrap. Border Utilities is used to set the style, color, and width 2 min read ReactJS MDBootstrap Text truncation Utilities 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 Text truncation Utilities in ReactJS MDBootstrap. Text truncation Utilities is used to use an ellipsi 2 min read Angular MDBootstrap Sizing Utilities MDBootstrap is a Material Design and bootstrap-based Angular UI library that is used to make attractive webpages with its seamless and easy-to-use component. In this article, we will know how to use Sizing utilities in Angular MDBootstrap.The Sizing Utilities are used to set the size of the element, 3 min read ReactJS MDBootstrap Position Utilities 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 Position Utilities in ReactJS MDBootstrap. Position Utilities allows a user to change the position of 2 min read ReactJS MDBootstrap Stretched Link Utilities 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 Stretched Link Utilities in ReactJS MDBootstrap. The Stretched Link Utilities is used to make a compo 2 min read Like