The Date Picker component requires a Flux Pro license. Learn more about Flux Pro.
Overview
The Date Picker component provides an intuitive calendar interface for selecting dates. It supports single dates, date ranges, and advanced features like min/max dates, disabled dates, and custom formatting.Basic Usage
Create a simple date picker:Date Range
Allow selection of start and end dates:With Constraints
Set minimum and maximum selectable dates:Disabled Dates
Prevent selection of specific dates:Disable Days of Week
Disable specific days (e.g., weekends):Custom Format
Specify date display format:With Time
Include time selection:Multiple Dates
Allow selection of multiple individual dates:Inline Calendar
Display calendar without an input field:Use Cases
Appointment Booking
Let users select available appointment dates with unavailable times disabled.
Date Range Filters
Filter reports, analytics, or records by selecting a custom date range.
Event Scheduling
Schedule events with date and time selection in a single component.
Availability Selection
Allow users to select multiple dates for availability or preferences.
Features
Flexible Selection Modes
- Single date selection
- Date range selection
- Multiple individual dates
- Inline calendar display
Smart Constraints
- Minimum and maximum dates
- Disabled specific dates
- Disabled days of week
- Custom validation rules
Localization
- Configurable date formats
- Multiple language support
- First day of week customization
- Locale-aware month/day names
User Experience
- Keyboard navigation (arrow keys, Enter, Escape)
- Month/year quick navigation
- Today button for quick selection
- Clear button to reset selection
Accessibility
The Date Picker component is fully accessible:- ARIA labels and attributes
- Keyboard navigation support
- Focus management
- Screen reader announcements
- High contrast mode compatible