Date Picker
A flexible date picker component built on top of Popover and Calendar, supporting single dates, ranges, and custom formatting.
Default
Standard date picker with constraints and automatic closing on selection.
Please select a date between 2023 and 2030.
date-picker-example-default.ts
Reactive Form
Integration with Angular Reactive Forms for seamless data management and validation.
date-picker-example-form.ts
Range Picker
Allows users to select a start and end date for intervals like vacations or rentals.
Vacation Period
Select both a start and an end date for your trip.
date-picker-example-range.ts
Custom Formatting
Demonstrates how to use Luxon for localized or custom date display formats.
This example uses Luxon for advanced date formatting (e.g., "MMMM dd, yyyy").
date-picker-example-format.ts
API Reference
Helm Components & Directives
The Date Picker uses a set of components and utility functions for styling and configuration.
| Selector | Inputs | Description |
|---|---|---|
| hlm-date-picker |
| Standard date picker component. |
| hlm-date-range-picker |
| Component for selecting date ranges. |