Materialny interfejs użytkownika
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/core
Excited Eagle
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/core
// with npm
npm install @mui/material @emotion/react @emotion/styled
// with yarn
yarn add @mui/material @emotion/react @emotion/styled
Material-UI is simply a library that allows us to import and use different components to create a user interface in our React applications. This saves a significant amount of time since the developers do not need to write everything from scratch.
$ npm install @material-ui/core
//You´re welcome.
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/cor
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />
import * as React from 'react';
import ReactDOM from 'react-dom';
import Button from '@mui/material/Button';
function App() {
return <Button variant="contained">Hello World</Button>;
}
ReactDOM.render(<App />, document.querySelector('#app'));
1
2
3
4
5
6
7
8
9