material icons react code example
Example 1: yarn add material ui
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/core
Example 2: install material ui icons
// with npm
npm install @material-ui/icons
// with yarn
yarn add @material-ui/icons
Example 3: @material-ui/icons
yarn add @material-ui/icons
# NPM
npm install @material-ui/icons
Example 4: react mui icons
npm install @material-ui/core
npm install @material-ui/icons
import RoomIcon from '@material-ui/icons/Room';
<RoomIcon />