@mui/x-date-pickers
TypeScript icon, indicating that this package has built-in type declarations

8.3.1 • Public • Published

MUI X Date Pickers

This package is the Community plan edition of the Date and Time Picker components. It's part of MUI X, an open-core extension of our Core libraries, with advanced components.

Installation

Install the package in your project directory with:

npm install @mui/x-date-pickers

Then install the date library of your choice (if not already installed). The pickers currently support the following date libraries:

# date-fns
npm install date-fns

# or dayjs
npm install dayjs

# or luxon
npm install luxon

# or moment
npm install moment

This component has the following peer dependencies that you need to install as well.

"peerDependencies": {
  "@mui/material": "^5.15.14 || ^6.0.0 || ^7.0.0",
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
  "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
},

After completing the installation, you have to set the dateAdapter prop of the LocalizationProvider accordingly. The supported adapters are exported from @mui/x-date-pickers.

import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
// date-fns
import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
// or for dayjs
import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';
// or for luxon
import { AdapterLuxon } from '@mui/x-date-pickers/AdapterLuxon';
// or for moment
import { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment';

function App({ children }) {
  return <LocalizationProvider dateAdapter={AdapterDateFns}>{children}</LocalizationProvider>;
}

Documentation

Visit https://mui.com/x/react-date-pickers/ to view the full documentation.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
6.20.2351,597latest-v6
7.29.3156,002latest-v7
8.3.116,728latest
8.0.0-beta.32,062next

Version History

VersionDownloads (Last 7 Days)Published
8.3.116,728
8.3.072,719
7.29.3156,002
8.2.034,555
7.29.260,942
8.1.021,130
7.29.152,151
8.0.011,859
7.29.022,793
8.0.0-beta.32,062
7.28.3119,125
7.28.243,282
8.0.0-beta.275
8.0.0-beta.124
8.0.0-beta.014
7.28.067,798
7.27.343,096
8.0.0-alpha.149
8.0.0-alpha.1321
7.27.135,990
8.0.0-alpha.120
7.27.035,692
8.0.0-alpha.1112
7.26.037,640
8.0.0-alpha.103
7.25.021,889
8.0.0-alpha.93
7.24.129,951
7.24.024,127
8.0.0-alpha.80
8.0.0-alpha.70
7.23.626,760
8.0.0-alpha.62
8.0.0-alpha.50
7.23.343,798
8.0.0-alpha.411
7.23.213,007
8.0.0-alpha.30
7.23.121,417
8.0.0-alpha.20
7.23.013,397
8.0.0-alpha.10
7.22.315,634
8.0.0-alpha.00
7.22.227,715
7.22.119,006
7.22.014,787
7.21.014,529
7.20.07,909
7.19.010,692
7.18.020,686
7.17.09,834
7.16.09,279
7.15.020,316
7.14.011,489
7.13.029,782
7.12.18,879
7.12.013,114
7.11.110,768
7.11.010,514
7.10.08,811
7.9.06,553
7.8.09,471
7.7.16,334
6.20.2351,597
7.7.010,542
7.6.27,328
6.20.16,507
7.6.120,999
7.6.0318
6.20.010,143
7.5.14,581
7.5.08,446
6.19.129,804
7.4.04,899
7.3.29,912
7.3.14,730
7.2.019,468
7.1.13,638
6.19.931,422
7.1.04,505
7.0.02,721
6.19.815,057
6.19.711,797
7.0.0-beta.66
6.19.617,890
7.0.0-beta.532
7.0.0-beta.413
6.19.520,492
7.0.0-beta.212
6.19.418,655
7.0.0-beta.1106
6.19.316,946
7.0.0-beta.02
6.19.217,857
7.0.0-alpha.978
7.0.0-alpha.83
6.19.015,953
7.0.0-alpha.70
6.18.75,965
7.0.0-alpha.61
6.18.610,340
7.0.0-alpha.578
6.18.55,124
7.0.0-alpha.40
6.18.410,324
7.0.0-alpha.310
6.18.34,953
7.0.0-alpha.20
6.18.26,346
7.0.0-alpha.10
7.0.0-alpha.00
6.18.115,989
6.18.08,793
6.17.025,689
6.16.34,006
6.16.29,057
6.16.15,470
6.16.010,939
6.15.05,253
6.14.03,986
6.13.04,374
6.12.15,061
6.12.05,706
6.11.29,574
6.11.12,839
6.11.04,467
6.10.210,128
6.10.12,881
6.10.02,465
6.9.27,867
6.9.13,266
6.9.03,378
6.8.05,763
6.7.03,335
6.6.05,759
6.5.03,033
6.4.06,179
6.3.14,272
6.3.01,702
6.2.13,136
6.2.02,406
6.1.01,393
6.0.42,147
6.0.34,621
6.0.22,683
6.0.12,345
6.0.01,072
6.0.0-beta.5132
5.0.20261,677
6.0.0-beta.40
5.0.195,382
6.0.0-beta.34,277
5.0.183,661
6.0.0-beta.20
5.0.174,841
6.0.0-beta.10
5.0.162,367
6.0.0-beta.00
5.0.157,493
5.0.142,521
6.0.0-alpha.1571
6.0.0-alpha.1429
5.0.134,893
5.0.122,555
6.0.0-alpha.132
6.0.0-alpha.120
5.0.113,069
6.0.0-alpha.114
5.0.104,351
6.0.0-alpha.100
6.0.0-alpha.90
5.0.96,710
6.0.0-alpha.80
5.0.83,817
6.0.0-alpha.70
6.0.0-alpha.60
5.0.72,212
6.0.0-alpha.50
5.0.63,783
6.0.0-alpha.41
5.0.57,024
6.0.0-alpha.32
6.0.0-alpha.20
5.0.45,651
6.0.0-alpha.1108
6.0.0-alpha.023
5.0.35,050
5.0.22,172
5.0.12,129
5.0.03,742
5.0.0-beta.73,642
5.0.0-beta.61,838
5.0.0-beta.58,623
5.0.0-beta.44,332
5.0.0-beta.31,188
5.0.0-beta.2968
5.0.0-beta.11,520
5.0.0-beta.02,859
5.0.0-alpha.72,131
5.0.0-alpha.66,428
5.0.0-alpha.52,248
5.0.0-alpha.43,574
5.0.0-alpha.3716
5.0.0-alpha.21,769
5.0.0-alpha.117,455
5.0.0-alpha.022,882

Package Sidebar

Install

npm i @mui/x-date-pickers

Weekly Downloads

2,636,776

Version

8.3.1

License

MIT

Unpacked Size

3.86 MB

Total Files

1345

Last publish

Collaborators

  • cherniavskii
  • lukastyla
  • alexandrefauquette
  • danailh
  • flaviendelangle
  • oliviertassinari
  • mbilalshafi
  • jcquintas
  • kyusuf
  • michelengelen
  • noraleonte
  • arminmeh
  • romgrk
  • bernardobelchior