This package has been deprecated

Author message:

Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.

@material-ui/core
TypeScript icon, indicating that this package has built-in type declarations

4.12.4 • Public • Published

Material-UI logo

Material-UI

MUI v5 is out! Check out the latest documentation here.

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

license npm latest package npm next package npm downloads CircleCI Coverage Status Follow on Twitter Dependabot Status Average time to resolve an issue Crowdin Open Collective backers and sponsors

Installation

Material-UI is available as an npm package.

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

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

Head to the v4 documentation for more details.

Older versions

Who sponsors Material-UI?

Diamond 💎

octopus doit-intl

Diamond Sponsors are those who have pledged $1,500/month or more to Material-UI.

Gold 🏆

via Patreon

tidelift bitsrc Next gen digital product studio.

via OpenCollective

call-em-all hoodiebees Screen recorder for Mac

Direct

elevator

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

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">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.

Premium Themes

You can find complete templates & themes in the Material-UI store.

Contributing

Read the contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Material-UI.

Notice that contributions go far beyond pull requests and commits. Although we love giving you the opportunity to put your stamp on Material-UI, we also are thrilled to receive a variety of other contributions.

Changelog

If you have recently updated, please read the changelog for details of what has changed.

Roadmap

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

License

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

Sponsoring services

These great services sponsor Material-UI's core infrastructure:

GitHub

GitHub allows us to host the Git repository.

CircleCI

CircleCI allows us to run the test suite.

Netlify

Netlify allows us to distribute the documentation.

CrowdIn

CrowdIn allows us to translate the documentation.

BrowserStack

BrowserStack allows us to test in real browsers.

CodeCov

CodeCov allows us to monitor the test coverage.

Package Sidebar

Install

npm i @material-ui/core

Homepage

mui.com/

Weekly Downloads

1,238,466

Version

4.12.4

License

MIT

Unpacked Size

5.96 MB

Total Files

1587

Last publish

Collaborators