material ui react component npm install code example Example 1: npm i material ui core npm i @material-ui/core Example 2: npm i material ui npm install material-ui