using material ui in next js code example
Example 1: setup material ui next js
yarn add @material-ui/core
Example 2: next.js with material ui
npm install @material-ui/core
yarn add @material-ui/core
npm install @material-ui/core