For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

  1. Place Date Picker inside a Form.

  2. Enter a unique Name.

  3. Choose the Date Format.

  4. Enable Time if required.

  5. Add a Label whose For value matches the Name.

  6. 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/Y02/26/2026

  • d/m/Y26/02/2026

  • F j, YFebruary 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.

  • Input — Collects text and other single-value fields.

  • Label — Associates visible text with the Date Picker.

  • Form — Configures delivery and validation.

Common Control
Description

Link

Link to a page, resource, anchor, email address, or website.

Layout

Control positioning, stacking, visibility, overflow, and isolation.

Sizing

Set width, height, and responsive size constraints.

Spacing

Add responsive margin and padding.

Typography & Text Styles

Control fonts, text spacing, decoration, colour, and semantic wrappers.

Backgrounds

Apply colour, image, gradient, SVG, video, and hover backgrounds.

Transitions

Choose what animates and set its timing curve, duration, and delay.

Effects

Apply shadows, opacity, and hover effects.

Filters

Apply blur, brightness, saturation, shadow, and backdrop effects.

Transforms

Scale, rotate, move, and skew components.

Borders

Set border style, colour, opacity, width, radius, and hover states.

Advanced

Add CSS classes and IDs, or change supported HTML tags.

Last updated

Was this helpful?