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