material-ui.com icon code example
Example 1: @material-ui/icons
yarn add @material-ui/icons
# NPM
npm install @material-ui/icons
Example 2: material ui icon
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
SVG Icons
In order to use prebuilt SVG Material icons, such as those found in the icons demos you must first install the @material-ui/icons package:
npm install @material-ui/icons
yarn add @material-ui/icons
https:
Example 3: material ui icon
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
SVG Icons
In order to use prebuilt SVG Material icons, such as those found in the icons demos you must first install the @material-ui/icons package:
npm install @material-ui/icons
yarn add @material-ui/icons
https:
Example 4: material ui icons
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />
Example 5: material ui icons
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
Example 6: Material-ui account icon
import AccountBoxIcon from '@material-ui/icons/AccountBox';
import AccountCircleIcon from '@material-ui/icons/AccountCircle';