Skip to main content
v7

Date Picker

A locale-aware date input with an optional floating calendar, mask input, and native date form value.

Package@g4rcez/componentsSectionForm Controls

Examples

Basic Date Picker

Renders a masked text input with a calendar dropdown trigger. Submits a hidden ISO date value.

Basic

Controlled Value

Pass date and onChange to control the selected date externally.

Controlled

Date Range Picker

Pass range to render editable endpoint inputs and a calendar header that uses labelRange, with presets, staged selection, and Apply/Cancel actions.

Range
Report period
null

Localized Range Picker

Override rangeLabels for non-English preset-list, action, and Today labels.

Localized
Período

Custom Presets

Provide rangePresets to replace the default menu with product-specific date shortcuts.

Custom presets
Analytics window

Inline Calendar

Set floating=false to render the calendar inline instead of in a dropdown.

Inline
SunMonTueWedThuFriSat

When to use Date Picker

Use when

You need the documented Date Picker interaction or presentation in a product workflow.

Avoid when

A native HTML element already provides the Date Picker behavior you need.

Accessibility

Keep the Date Picker labeled and use its documented keyboard interaction. The component preserves visible focus and communicates state without relying on color alone.