Date Picker

Lab component

DatePicker allows users to specify a single day or range of dates by typing directly into an input field or selecting one from a calendar.

Use a Date Picker when enabling users to filter data that’s displayed on screen, or whenever a specific timeframe or period needs to be selected.

To improve consistency and simplify your messaging, consider recommending just one acceptable date format in the form field label and helper text – ideally, the one most frequently used in your application.

To import DatePicker from the lab Salt package, use: