how to use material ui code example

Example 1: install material-ui

npm install @material-ui/core

# Yarn
yarn add @material-ui/core

Example 2: how to use material ui in html

<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css">
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>

Example 3: materialui.

$ npm install @material-ui/core

Tags: