What is Material-UI

React components for faster and easier web development. Build your own design system, or start with Material Design.


Installation

Install Material-UI’s source files via npm. We take care of injecting the CSS needed.

npm install @material-ui/core

Or use a CDN. Load the default Roboto font.

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />

Check out more here.

Usage

Material-UI components work without any additional setup, and don’t pollute the global scope.

import React from 'react';
import { Button } from '@material-ui/core';

function App() {
  return <Button color="primary">Hello World</Button>;
}

Check out their docs here.