3.3.11 • Published 8 months ago

@material-ui/pickers v3.3.11

Weekly downloads
580,450
License
MIT
Repository
github
Last release
8 months ago

Accessible, customizable, delightful date & time pickers for @material-ui/core

npm package npm download codecov Bundle Size CircleCI Cypress.io tests This project is using Percy.io for visual regression testing. code style: prettier

!WARNING The docs website is not online anymore, you can still get access to it by cloning this repository and run yarn dev.

Installation

Note that this package requires @material-ui/core v4. It will not work with the old v3. Please read the migration guide if you are updating from v2

// via npm
npm i @material-ui/pickers

// via yarn
yarn add @material-ui/pickers

Now choose the library that pickers will use to work with date. We are providing interfaces for moment, luxon, dayjs and date-fns v2. If you are not using moment in the project (or don’t have it in the bundle already) we suggest using date-fns or luxon, because they are much lighter and will be correctly tree-shaked from the bundle. Note, that we are fully relying on date-io for supporting different libraries.

npm i date-fns@next @date-io/date-fns
// or
npm i moment @date-io/moment
// or
npm i luxon @date-io/luxon
// or
npm i dayjs @date-io/dayjs

Then teach pickers which library to use with MuiPickerUtilsProvider. This component takes a utils property, and makes it available down the React tree thanks to React context. It should preferably be used at the root of your component tree.

import MomentUtils from '@date-io/moment';
import DateFnsUtils from '@date-io/date-fns';
import LuxonUtils from '@date-io/luxon';
import { MuiPickersUtilsProvider } from '@material-ui/pickers';

function App() {
  return (
    <MuiPickersUtilsProvider utils={DateFnsUtils}>
      <Root />
    </MuiPickersUtilsProvider>
  );
}

render(<App />, document.querySelector('#app'));

Documentation

Check out the documentation website

Recently updated?

Changelog available here

Contributing

For information about how to contribute, see the CONTRIBUTING file.

LICENSE

The project is licensed under the terms of MIT license

fundwave-fund-management@appcraft/core@lwtears/admin-common@draftbit/core@flyteorg/console@flyteoss/consoled2-ui-components@corva/ui@jessjess/react-site-componentszing-forms@react-material-table/material-tableinternal-dash-explorew222w111w123w456vf-123reactjs-99unodefi-finder-calculatornawadata-web-testingtdl-coretdll-corezawee-material-tableruntime-osmium@artibulles-cis/reactimdashimdashboardmydashboardsayeeddashboardjaivanajaivana_dashboardharriet-uppcustom-table-kldjskljasdascira-design-system@webeetle-it/bee-thememdk-ui@cobrains/react-kitzozengo-reactdesign-frameworkmaterial-table-2material-table-hotfix-for-initial-page-remote-datamaterial-table-initial-page-hotfixfrontend-applicationreact-rogatioreact-rogatio-builderinova-react-componentsmaterial-table-glmaterial-table-gl2events-manager-viewmaterial-relysage.br.hypercube.web.componentsmaterial-table-bendevbunadmin-material-tabletestdashboardpnn-comp-libpnn-comp-lib-testdevelapp-regional-frontend@artiweb.artibulles/artiweb-reactinfoniqa-client-coreartiweb-reactuki-react-components@danielballardp/infoniqa-client-core@andreschort/react-datatablepurewealth-uistreamline-pkgosmium-runtimeruntime_osmuimosmuim-component@flmc/date-time-picker@apraamcos/apra-amcos-uicom.sixt.web.lynx-sixt-plusbyevolution@dxc-technology/dxc-react-cdkmaterial-ui-formik-templateformik-material-ui-template@everreal/dynamic-forms@sportsbroker/sb-frontend-shared@lucpolak/material-tabletest-ra-libtest-ra-lib2finanzen.js99uno-react-js299uno-reactjssmart_ui_kithiringmanageradmiral_storybookzq-reactuiaclipp-modelsstaffpad-ui-librarypanel-maluko-testmaterial-table-ex@omarefg/react-date-eventsalanzoutest@idkman/material-table-fixedreact-rrule-tser-prism-webrobinbullock-material-table-core@taranjeetsingh/formsdexi-react-component-libraryprefix-custom-components
3.3.11

8 months ago

4.0.0-alpha.13

8 months ago

3.3.10

3 years ago

4.0.0-alpha.12

4 years ago

4.0.0-alpha.11

4 years ago

4.0.0-alpha.10

4 years ago

4.0.0-alpha.9

4 years ago

4.0.0-alpha.8

4 years ago

4.0.0-alpha.7

4 years ago

4.0.0-alpha.6

4 years ago

4.0.0-alpha.5

4 years ago

4.0.0-alpha.4

4 years ago

4.0.0-alpha.3

4 years ago

4.0.0-alpha.2

4 years ago

3.2.10

4 years ago

3.2.9

4 years ago

4.0.0-alpha.1

4 years ago

3.2.8

4 years ago

3.2.7

5 years ago

3.2.6

5 years ago

3.2.5

5 years ago

3.2.4

5 years ago

3.2.3

5 years ago

3.2.2

5 years ago

3.2.1

5 years ago

3.2.0

5 years ago

3.1.2

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.0

5 years ago

3.0.0-rc.0

5 years ago

3.0.0-beta.1

5 years ago

0.0.1

5 years ago