Date Picker
Collect a date and optional time
Date Picker provides a formatted date field with a calendar interface. It can also collect a time.
How to Use Date Picker
You’ll find Date Picker under Forms in the Components list.
Place Date Picker inside a Form.
Enter a unique Name.
Choose the Date Format.
Enable Time if required.
Add a Label whose For value matches the Name.
Publish and test keyboard entry and calendar selection.
Component Settings
Settings
Name is blank by default. If left blank, Elements creates a generated name.
Required is off by default.
Date Format is not responsive and defaults to Y-m-d, displayed as 2026-02-26. Other formats are:
m/d/Y—02/26/2026d/m/Y—26/02/2026F j, Y—February 26, 2026
Enable Time is off by default. Enabling it appends a 24-hour hours-and-minutes value to the selected date.
Placeholder defaults to “Select a date…”.
Placeholder Color defaults to Text 400.
Input
Input Color defaults to Text 50.
Font defaults to Body and Size to Base.
Outline
Type defaults to None and can be Static or Focus. Focus provides Unfocused and Focused states.
Outline defaults are Solid style, Surface 500 colour, 100% opacity, width 1, and offset 0.
The field uses the shared Input sizing and spacing defaults: 100% width, Auto height, zero margin, and padding 2 vertically and 3.5 horizontally.
Accessibility
Add a Label, preserve a visible focus state, and choose a date format familiar to the intended audience. Visitors can type directly into the field as well as use the calendar.
Related Components
Input — Collects text and other single-value fields.
Label — Associates visible text with the Date Picker.
Form — Configures delivery and validation.
Link to a page, resource, anchor, email address, or website.
Control positioning, stacking, visibility, overflow, and isolation.
Set width, height, and responsive size constraints.
Add responsive margin and padding.
Control fonts, text spacing, decoration, colour, and semantic wrappers.
Apply colour, image, gradient, SVG, video, and hover backgrounds.
Choose what animates and set its timing curve, duration, and delay.
Apply shadows, opacity, and hover effects.
Apply blur, brightness, saturation, shadow, and backdrop effects.
Scale, rotate, move, and skew components.
Set border style, colour, opacity, width, radius, and hover states.
Add CSS classes and IDs, or change supported HTML tags.
Last updated
Was this helpful?

