npm i material-ui/icons code example
Example 1: npm install material ui icons
npm install @material-ui/icons
Example 2: material ui icon npm
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/core
npm install @material-ui/icons
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/core