adding material ui to next js code example Example: setup material ui next js yarn add @material-ui/core