npm i material ui
npm install material-ui
npm i material ui
npm install material-ui
react material ui
// with npm
npm install @mui/material @emotion/react @emotion/styled
// with yarn
yarn add @mui/material @emotion/react @emotion/styled
// Icons
// with npm
npm install @mui/icons-material
// with yarn
yarn add @mui/icons-material
material ui react
CDN
You can start using Material-UI with minimal Front-end infrastructure, which is great for prototyping.
Two Universal Module Definition (UMD) files are provided:
one for development: https://unpkg.com/@material-ui/core@latest/umd/material-ui.development.js
one for production: https://unpkg.com/@material-ui/core@latest/umd/material-ui.production.min.js
Material-UI is available as an npm package.
npm
To install and save in your package.json dependencies, run:
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/core
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