Search documentation

Find a component or a docs page

Date Picker

A date field with an input and a calendar in a popover.

Usage

Input

Type a date or open the calendar with the button (or ArrowDown in the input). Picking a day writes it into the input, in date_format:, and a date typed in that format moves the calendar to it.

Selected date

selected_date: fills the input and selects the day in the calendar.

Date format

date_format: sets how the picked date is written (yyyy, MM, dd, MMMM, EEEE, do, PPPP).

Installation

Components

ComponentBuilt usingSource
DatePickerPhlex
DatePickerDocsPhlex
DatePickerControllerStimulus JS