how to install material ui in react code example
Example 1: install material ui
// usando npm
npm install @material-ui/core
// usando yarn
yarn add @material-ui/core
Example 2: install material-ui
npm install @material-ui/core
yarn add @material-ui/core
Example 3: install material ui icons
// with npm
npm install @material-ui/icons
// with yarn
yarn add @material-ui/icons
Example 4: install material ui
// usando npm
npm install @material-ui/icons
// usando yarn
yarn add @material-ui/icons
Example 5: 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 6: material ui npm
// with npmnpm install @material-ui/core // with yarnyarn add @material-ui/core