1. What is Material UI?
Ans: Material UI is UI library for React JS.
2. Why and when should you use Material UI?
Ans: Material UI has almost everything you need in a web site UI such as NavBar,Cards etc. Also you can customize the UI components easily. Now Let's see when should we use Material UI. Material Ui can be used in React JS. And Material UI not only has UI Components but also Material UI has a Icons library.
Now let's understand how to use material Ui Components
Typography
Typography
is a Material UI Component for text. You can add varient prop in Typography and specify it to a heading or paragraph tag.
<Typography variant="h1"> Hello World </Typography>
Appbar
Appbar is a Material UI custom Component for creating nice mui Navbar
<Appbar> <Typography>MyAppbar</Typography> </Appbar>
Top comments (0)