material ui
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/core
material ui
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/core
material ui
npm i @material-ui/core
// material icon
npm i @material-ui/icons
material ui
$ npm install @material-ui/core
import React from 'react';
import { Button } from '@material-ui/core';
export default function App() {
return <Button variant="contained" color="primary">Hello World</Button>
}
material ui
to install mui
npm install @mui/material @emotion/react @emotion/styled
material ui
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/cor
material ui
npm install @material-ui/core
material ui
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />
material ui
1
2
3
4
5
6
7
8
9
material ui
import TextField from '@material-ui/core/TextField'
<TextField
id="slots"
type="number"
min={1}
defaultValue="1"
className="TextField pa2"
onChange={handleChange}
label="number of slots"
InputProps={{
inputProps: { min: 1}
}}
InputLabelProps = {{
shrink:true,
}}/>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us