Skip to content
React components for faster and easier web development. Build your own design system, or start with Material Design.
Branch: next
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci [ci] Don't use -browser images (#14779) Mar 7, 2019
.github [docs] Change Gitter to Spectrum (#14558) Feb 18, 2019
docs [docs] Update Style Library Interoperability + Container forwardRef (#… Apr 2, 2019
examples [example] Simplify ssr examples (#15127) Mar 31, 2019
modules [core] Fix the CDN release (#14172) Jan 14, 2019
packages [Grid] Add root class (#15163) Apr 2, 2019
pages [Grid] Add root class (#15163) Apr 2, 2019
scripts [styles] Remove the old styles modules (#14767) Mar 7, 2019
static
test [core] Use explicit html entity (#15132) Apr 2, 2019
.browserslistrc
.codecov.yml
.editorconfig [.editorconfig] Add max_line_length (#9580) Dec 20, 2017
.eslintignore [docs] AppBar and Textfield demos in TypeScript (#13229) Jan 31, 2019
.eslintrc.js [test] Leaner eslint config (#14901) Mar 16, 2019
.gitattributes Add gitattributes Dec 12, 2014
.gitignore [ci] Use dangerJS to report bundle size changes (#14587) Feb 21, 2019
.tidelift.yml [test] Tidelift - skip checking nomnom & os-locale (#13157) Oct 8, 2018
.yarnrc [core] Fix .yarnrc syntax (#14704) Mar 1, 2019
BACKERS.md [docs] Misc improvements (#14584) Feb 19, 2019
CHANGELOG.md [core] Use explicit html entity (#15132) Apr 2, 2019
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Aug 9, 2017
CONTRIBUTING.md [docs] Add sections about translation contributions (#14571) Feb 19, 2019
GOVERNANCE.md
LICENSE Initial commit Aug 18, 2014
README.md [docs] Change Gitter to Spectrum (#14558) Feb 18, 2019
ROADMAP.md [docs] Update the ROADMAP (#14923) Mar 18, 2019
SUPPORT.md [docs] Change Gitter to Spectrum (#14558) Feb 18, 2019
babel.config.js [docs] Prepare Google & Algolia i18n search + v3/v4 search (#14806) Mar 9, 2019
crowdin.yml Update Crowdin configuration file Feb 6, 2019
dangerfile.js [test] Fix size snapshot including peer dependencies (#14636) Feb 23, 2019
docker-compose.yml [core] Prune dead dependencies (#10963) Apr 8, 2018
lerna.json @material-ui/styles (#13503) Nov 12, 2018
next.config.js [docs] Server side render the German version Mar 17, 2019
package.json [docs] Add virtualized List example (#15149) Apr 2, 2019
prettier.config.js
tsconfig.json [docs] Add button demos in ts (#14739) Mar 5, 2019
tslint.json [core] Add tslint deprecation rule (#14675) Feb 26, 2019
yarn.lock [docs] Add virtualized List example (#15149) Apr 2, 2019

README.md

Material-UI logo

Material-UI

React components that implement Google's Material Design.

npm package npm downloads CircleCI Join the community on Spectrum Coverage Status CII Best Practices Code style Follow on Twitter PeerDependencies Dependencies DevDependencies Average time to resolve an issue Crowdin

Installation

Material-UI is available as an npm package.

Stable channel v3

// with npm
npm install @material-ui/core

// with yarn
yarn add @material-ui/core

Next channel v4.0.0-alpha

// with npm
npm install @material-ui/core@next

// with yarn
yarn add @material-ui/core@next

v0.x (Migration to v1)

// with npm
npm install material-ui

// with yarn
yarn add material-ui

Please note that @next will only point to pre-releases; to get the latest stable release use @latest instead.

Supporting Material-UI

Material-UI is an MIT-licensed open source project. It's an independent project with ongoing development made possible thanks to the support of these awesome backers. If you'd like to join them, please consider:

What's the difference between Patreon and OpenCollective?

Funds donated via Patreon directly support Olivier Tassinari's work on Material-UI. Funds donated via OpenCollective are managed transparently and will be used for compensating work and expenses for core team members. Your name/logo will receive proper recognition and exposure by donating on either platform.

Gold Sponsors

Gold Sponsors are those who have pledged $500/month and more to Material-UI.

via Patreon

creative-tim tidelift bitsrc

via OpenCollective

callemall localize yakaz zinggrid

There is more!

See the full list of our backers.

Usage

Here is a quick example to get you started, it's all you need:

import React from 'react';
import ReactDOM from 'react-dom';
import Button from '@material-ui/core/Button';

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

ReactDOM.render(<App />, document.querySelector('#app'));

Yes, it's really all you need to get started as you can see in this live and interactive demo:

Edit Button

Questions

For how-to questions and other non-issues, please use StackOverflow instead of Github issues. There is a StackOverflow tag called "material-ui" that you can use to tag your questions.

Examples

Are you looking for an example project to get started? We host some.

Documentation

Check out our documentation website.

Contributing

We'd greatly appreciate any contribution you make. :)

Changelog

Recently Updated? Please read the changelog.

Roadmap

The future plans and high priority features and enhancements can be found in the ROADMAP.md file.

Thanks

Material-UI is only made possible thanks to these great services that sponsor our core infrastructure:

GitHub allows us to host the Git repository.

CircleCI allows us to run the test suite.

Netlify allows us to distribute the documentation.

CrowdIn allows us to translate the documentation.

BrowserStack allows us to test in real browsers.

CodeCov allows us to monitor the test coverage.

License

This project is licensed under the terms of the MIT license.

Security

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

You can’t perform that action at this time.