Material-UI Next code example

Example 1: material ui react

// Get the core
npm install @material-ui/core

// Those fancy SVG icons
npm install @material-ui/icons

// Roboto is the font Material-UI is based around, ofc you can omit this
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />

// Font Icons
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />

Example 2: material-ui

yarn add @material-ui/core

npm install @material-ui/core

Example 3: next.js with material ui

npm install @material-ui/core

Example 4: next.js with material ui

cd next-material-ui-setup-learning && npm run dev

Tags: