Date/Time inputs
Date/Time inputs (short: pickers) provide a simple way to select a single value from a pre-determined set.
- On mobile, pickers are best suited for display in confirmation dialog.
- For inline display, such as on a form, consider using compact controls such as segmented dropdown buttons.
Native pickers
⚠️ Native input controls support by browsers isn't perfect. Have a look at the complementary projects for a richer solution.
Date pickers
A native date picker example with type="date"
.
Complementary projects
For more advanced use cases you might be able to take advantage of.
@material-ui/pickers
@material-ui/pickers provides date and time controls that follow the Material Design spec.