1 | <p align="center">
|
2 | <a href="https://mui.com/" rel="noopener" target="_blank"><img width="150" src="https://mui.com/static/logo.svg" alt="Material-UI logo"></a></p>
|
3 | </p>
|
4 |
|
5 | <h1 align="center">Material-UI</h1>
|
6 |
|
7 | > MUI v5 is out! ✨ Check out the latest documentation [here](https://mui.com/).
|
8 |
|
9 | <div align="center">
|
10 |
|
11 | [React](https://reactjs.org/) components for faster and simpler web development. Build your own design system, or start with [Material Design](https://material.io/design/introduction/).
|
12 |
|
13 | [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mui-org/material-ui/blob/master/LICENSE)
|
14 | [![npm latest package](https://img.shields.io/npm/v/@material-ui/core/latest.svg)](https://www.npmjs.com/package/@material-ui/core)
|
15 | [![npm next package](https://img.shields.io/npm/v/@material-ui/core/next.svg)](https://www.npmjs.com/package/@material-ui/core)
|
16 | [![npm downloads](https://img.shields.io/npm/dm/@material-ui/core.svg)](https://www.npmjs.com/package/@material-ui/core)
|
17 | [![CircleCI](https://img.shields.io/circleci/project/github/mui-org/material-ui/next.svg)](https://app.circleci.com/pipelines/github/mui-org/material-ui?branch=next)
|
18 | [![Coverage Status](https://img.shields.io/codecov/c/github/mui-org/material-ui/next.svg)](https://codecov.io/gh/mui-org/material-ui/branch/next)
|
19 | [![Follow on Twitter](https://img.shields.io/twitter/follow/MaterialUI.svg?label=follow+Material-UI)](https://twitter.com/MaterialUI)
|
20 | [![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=mui-org/material-ui)](https://dependabot.com)
|
21 | [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/mui-org/material-ui.svg)](https://isitmaintained.com/project/mui-org/material-ui 'Average time to resolve an issue')
|
22 | [![Crowdin](https://badges.crowdin.net/material-ui-docs/localized.svg)](https://translate.material-ui.com/project/material-ui-docs)
|
23 | [![Open Collective backers and sponsors](https://img.shields.io/opencollective/all/material-ui)](https://opencollective.com/material-ui)
|
24 |
|
25 | </div>
|
26 |
|
27 | ## Installation
|
28 |
|
29 | Material-UI is available as an [npm package](https://www.npmjs.com/package/@material-ui/core).
|
30 |
|
31 | ```sh
|
32 | // with npm
|
33 | npm install @material-ui/core
|
34 |
|
35 | // with yarn
|
36 | yarn add @material-ui/core
|
37 | ```
|
38 |
|
39 | Head to the [v4 documentation](https://v4.mui.com/) for more details.
|
40 |
|
41 | <details>
|
42 | <summary>Older versions</summary>
|
43 |
|
44 | - **[v3.x](https://v3.material-ui.com/)** ([Migration from v3 to v4](https://mui.com/guides/migration-v3/))
|
45 | - **[v0.x](https://v0.material-ui.com/)** ([Migration to v1](https://mui.com/guides/migration-v0x/))
|
46 |
|
47 | </details>
|
48 |
|
49 | ## Who sponsors Material-UI?
|
50 |
|
51 | ### Diamond 💎
|
52 |
|
53 | <p style="display: flex; justify-content: center;">
|
54 | <a data-ga-event-category="sponsor" data-ga-event-action="logo" data-ga-event-label="octopus" href="https://octopus.com/?utm_source=materialui&utm_medium=referral" rel="noopener sponsored" target="_blank" style="margin-right: 16px;"><img height="128" width="128" src="https://avatars3.githubusercontent.com/u/1287123?s=256" alt="octopus" title="Repeatable, reliable deployments" loading="lazy" /></a>
|
55 | <a data-ga-event-category="sponsor" data-ga-event-action="logo" data-ga-event-label="doit-intl" href="https://www.doit-intl.com/?utm_source=materialui&utm_medium=referral" rel="noopener sponsored" target="_blank" style="margin-right: 16px;"><img height="128" width="128" src="https://avatars3.githubusercontent.com/u/8424863?s=256" alt="doit-intl" title="Management Platform for Google Cloud and AWS" loading="lazy" /></a>
|
56 | </p>
|
57 |
|
58 | Diamond Sponsors are those who have pledged \$1,500/month or more to Material-UI.
|
59 |
|
60 | ### Gold 🏆
|
61 |
|
62 | via [Patreon](https://www.patreon.com/oliviertassinari)
|
63 |
|
64 | <p style="display: flex; justify-content: center;">
|
65 | <a data-ga-event-category="sponsor" data-ga-event-action="logo" data-ga-event-label="tidelift" href="https://tidelift.com/subscription/pkg/npm-material-ui?utm_source=npm-material-ui&utm_medium=referral&utm_campaign=homepage" rel="noopener sponsored" target="_blank" style="margin-right: 16px;"><img height="96" width="96" src="https://github.com/tidelift.png?size=192" alt="tidelift" title="Enterprise-ready open source software" loading="lazy" /></a>
|
66 | <a data-ga-event-category="sponsor" data-ga-event-action="logo" data-ga-event-label="bitsrc" href="https://bit.dev" rel="noopener sponsored" target="_blank" style="margin-right: 16px;"><img height="96" width="96" src="https://github.com/teambit.png?size=192" alt="bitsrc" title="The fastest way to share code" loading="lazy" /></a>
|
67 | <a data-ga-event-category="sponsor" data-ga-event-action="logo" data-ga-event-label="movavi" href="https://spicefactory.co/" rel="noopener sponsored" target="_blank" style="margin-right: 16px;"><img height="96" width="96" src="https://avatars.githubusercontent.com/u/13365608?s=192" alt="Next gen digital product studio." loading="lazy" /></a>
|
68 | </p>
|
69 |
|
70 | via [OpenCollective](https://opencollective.com/material-ui)
|
71 |
|
72 | <p style="display: flex; justify-content: center; flex-wrap: wrap;">
|
73 | <a data-ga-event-category="sponsor" data-ga-event-action="logo" data-ga-event-label="textemall" href="https://www.text-em-all.com" rel="noopener sponsored" target="_blank" style="margin-right: 16px;"><img src="https://images.opencollective.com/callemall/a6946da/logo/192.png" alt="call-em-all" title="Mass Text Messaging & Automated Calling" height="96" width="96" loading="lazy"></a>
|
74 | <a data-ga-event-category="sponsor" data-ga-event-action="logo" data-ga-event-label="hoodiebees" href="https://hoodiebees.com/" rel="noopener sponsored" target="_blank" style="margin-right: 16px;"><img height="96" width="96" src="https://images.opencollective.com/hoodiebees1/617b451/logo/192.png" alt="hoodiebees" loading="lazy" /></a>
|
75 | <a data-ga-event-category="sponsor" data-ga-event-action="logo" data-ga-event-label="movavi" href="https://www.movavi.com/" rel="noopener sponsored" target="_blank" style="margin-right: 16px;"><img height="96" width="96" src="https://images.opencollective.com/movavi-software/a1d0167/logo/192.png" alt="Screen recorder for Mac" loading="lazy" /></a>
|
76 | </p>
|
77 |
|
78 | Direct
|
79 |
|
80 | <p style="display: flex; justify-content: center; flex-wrap: wrap;">
|
81 | <a data-ga-event-category="sponsor" data-ga-event-action="logo" data-ga-event-label="elevator" href="https://www.elevatormag.com/" rel="noopener sponsored" target="_blank" style="margin-right: 16px;"><img src="https://mui.com/static/sponsors/elevator.png" alt="elevator" title="The dopest new hip hop, upcoming artsits, music news, culture, and style" height="57" width="191" loading="lazy"></a>
|
82 | </p>
|
83 |
|
84 | Gold Sponsors are those who have pledged \$500/month or more to Material-UI.
|
85 |
|
86 | ### There is more!
|
87 |
|
88 | See the full list of [our backers](https://mui.com/discover-more/backers/).
|
89 |
|
90 | ## Usage
|
91 |
|
92 | Here is a quick example to get you started, **it's all you need**:
|
93 |
|
94 | ```jsx
|
95 | import React from 'react';
|
96 | import ReactDOM from 'react-dom';
|
97 | import Button from '@material-ui/core/Button';
|
98 |
|
99 | function App() {
|
100 | return <Button variant="contained">Hello World</Button>;
|
101 | }
|
102 |
|
103 | ReactDOM.render(<App />, document.querySelector('#app'));
|
104 | ```
|
105 |
|
106 | Yes, it's really all you need to get started as you can see in this live and interactive demo:
|
107 |
|
108 | [![Edit Button](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/4j7m47vlm4)
|
109 |
|
110 | ## Questions
|
111 |
|
112 | For _how-to_ questions and other non-issues,
|
113 | please use [StackOverflow](https://stackoverflow.com/questions/tagged/material-ui) instead of GitHub issues.
|
114 | There is a StackOverflow tag called "material-ui" that you can use to tag your questions.
|
115 |
|
116 | ## Examples
|
117 |
|
118 | Are you looking for an example project to get started?
|
119 | [We host some](https://mui.com/getting-started/example-projects/).
|
120 |
|
121 | ## Documentation
|
122 |
|
123 | Check out our [documentation website](https://mui.com/).
|
124 |
|
125 | ## Premium Themes
|
126 |
|
127 | You can find complete templates & themes in the [Material-UI store](https://mui.com/store/?utm_source=docs&utm_medium=referral&utm_campaign=readme-store).
|
128 |
|
129 | ## Contributing
|
130 |
|
131 | Read the [contributing guide](/CONTRIBUTING.md) to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Material-UI.
|
132 |
|
133 | Notice that contributions go far beyond pull requests and commits.
|
134 | 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](https://mui.com/getting-started/faq/#material-ui-is-awesome-how-can-i-support-the-project).
|
135 |
|
136 | ## Changelog
|
137 |
|
138 | If you have recently updated, please read the [changelog](https://github.com/mui-org/material-ui/releases) for details of what has changed.
|
139 |
|
140 | ## Roadmap
|
141 |
|
142 | The future plans and high priority features and enhancements can be found in the [roadmap](https://mui.com/discover-more/roadmap/) file.
|
143 |
|
144 | ## License
|
145 |
|
146 | This project is licensed under the terms of the
|
147 | [MIT license](/LICENSE).
|
148 |
|
149 | ## Sponsoring services
|
150 |
|
151 | These great services sponsor Material-UI's core infrastructure:
|
152 |
|
153 | [<img loading="lazy" alt="GitHub" src="https://github.githubassets.com/images/modules/logos_page/GitHub-Logo.png" height="25">](https://github.com/)
|
154 |
|
155 | GitHub allows us to host the Git repository.
|
156 |
|
157 | [<img loading="lazy" alt="CircleCI" src="https://assets.brandfolder.com/otz6k5-cj8pew-e4rk9u/element.png?v=1501538594" height="32">](https://circleci.com/)
|
158 |
|
159 | CircleCI allows us to run the test suite.
|
160 |
|
161 | [<img loading="lazy" alt="Netlify" src="https://cdn.netlify.com/15ecf59b59c9d04b88097c6b5d2c7e8a7d1302d0/1b6d6/img/press/logos/full-logo-light.svg" height="30">](https://www.netlify.com/)
|
162 |
|
163 | Netlify allows us to distribute the documentation.
|
164 |
|
165 | [<img loading="lazy" alt="CrowdIn" src="https://support.crowdin.com/assets/logos/crowdin-logo1-small.png" height="30">](https://crowdin.com/)
|
166 |
|
167 | CrowdIn allows us to translate the documentation.
|
168 |
|
169 | [<img loading="lazy" alt="BrowserStack" src="https://www.browserstack.com/images/mail/browserstack-logo-footer.png" height="30">](https://www.browserstack.com/)
|
170 |
|
171 | BrowserStack allows us to test in real browsers.
|
172 |
|
173 | [<img loading="lazy" alt="CodeCov" src="https://github.com/codecov.png?size=70" width="35" height="35">](https://codecov.io/)
|
174 |
|
175 | CodeCov allows us to monitor the test coverage.
|