React Range Understanding Controls

The picker supports multiple controls:

  • Calendar view - can be used on its own or combined with a time scroller
  • Date picker - can be used separately or together with a time picker as a scroller on mobile and as a dropdown on desktop
  • Time picker - can be used separately or together with a date picker or calendar
  • Datetime picker - can be used as a scroller on mobile and as a dropdown on desktop

Use the controls option (expecting an array) to configure the picker.

Get started with this example

Demo

Calendar view

Renders a calendar view for range selection.

<Datepicker
    controls={['calendar']}
    select="range"
    touchUi=
/>
Date picker

Renders a date scroller for touch and a dropdown for pointer interaction.

<Datepicker
    controls={['date']}
    select="range"
    touchUi=
/>
Date and time picker

Renders a compact (one wheel) date picker with time. The scroller can be used with touch interaction on mobile and the dropdown for pointer interaction on desktop.

<Datepicker
    controls={['datetime']}
    select="range"
    touchUi=
/>
Calendar and time picker

Renders a combined view of a calendar and time scroller/dropdown for date and time range selection.

<Datepicker
    controls={['calendar', 'time']}
    select="range"
    touchUi=
/>
Time picker

Renders a time scroller for touch and a dropdown for pointer interaction. The time format comes from the locale option that can be overridden.

<Datepicker
    controls={['time']}
    select="range"
    touchUi=
/>

Duplicate Session

You have signed in on a different machine. To keep everything in sync, you have been signed out of this session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.

Duplicate Session

We noticed you are logged in on a different machine and have closed your old session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.