import material ui in next js code example Example: setup material ui next js yarn add @material-ui/core