How to use Typography Component in ReactJS? Last Updated : 04 Dec, 2023 Summarize Comments Improve Suggest changes Share Like Article Like Report Effectively present your design and content with clarity using typography. With Material UI for React, integration is a breeze. Utilize the Typography Component in ReactJS effortlessly by following this straightforward approach. Prerequisites:Node JS or NPMReact JSMaterial UISteps to create React Application And Installing Module:Step 1: Create a React application using the following command: npx create-react-app foldernam.Step 2: After creating your project folder i.e. foldername, move to it using the following command. cd foldernameStep 3: After creating the ReactJS application, Install the material-ui modules using the following command. npm install @material-ui/coreProject Structure: Project StructureThe updated dependencies in package.json file will look like: "dependencies": { "@material-ui/core": "^4.12.4", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", "web-vitals": "^2.1.4",}Example: Now write down the following code in the App.js file JavaScript import React from "react"; import Typography from "@material-ui/core/Typography"; export default function App() { return ( <div style= { { display: "block", padding: 30 } }> <h4> How to use Typography Component in ReactJS? </h4> <Typography variant="h4" gutterBottom> GeeksforGeeks with Typography Component </Typography> <h4> GeeksforGeeks without Typography Component </h4> </div> ); } Step to Run Application: Run the application using the following command from the root directory of the project. npm startOutput: Now open your browser and go to http://localhost:3000 Comment More infoAdvertise with us Next Article How to use Typography Component in ReactJS? G gouravhammad Follow Improve Article Tags : ReactJS Material-UI React-Questions Similar Reads ReactJS UI Ant Design Typography Component Ant Design Library has this component pre-built, and it is very easy to integrate as well. Typography component is useful for basic text writing, body text, including headings, lists, and many more. We can use the following approach in ReactJS to use the Ant Design Typography Component. Typography.T 4 min read How to use Avatar Component in ReactJS? Avatars are found throughout material design with uses in everything from tables to dialog menus. Material UI for React has this component available for us, and it is very easy to integrate. We can use the Avatar Component in ReactJS using the following approach. Prerequisites:NodeJS or NPMReactJSSt 2 min read How to use Paper Component in ReactJS ? In Material Design, the physical properties of paper are translated to the screen. Material UI for React has this component available for us and it is very easy to integrate. We can use the Paper Component in ReactJS using the following approach. Prerequisites:React JSMaterial UIApproachTo use Paper 2 min read How to use TextareaAutosize Component in ReactJS? A textarea component for React that grows with content on Input. Material UI for React has this component available for us, and it is very easy to integrate. We can use the TextareaAutosize Component in ReactJS using the following approach.Prerequisites:NPM & Node.jsReact JSReact Material UIAppr 2 min read How to use Container Component in ReactJS? The container centers your content horizontally. It's the most basic layout element. Material UI for React has this component available for us and it is very easy to integrate. We can use the Container component in ReactJS using the following approach. Creating React Application And Installing Modul 1 min read Like