material ui for react js code example
Example 1: material ui react
npm install @material-ui/core
npm install @material-ui/icons
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
Example 2: react js material ui
$ npm install @material-ui/core
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />
import { Button } from '@material-ui/core';
function App() {
return <Button color="primary">Hello World</Button>;
}