Date
Date picker input. Supports min/max dates, allowed dates, and disabled dates.
Inputtype: dateaccepts input
Live Preview
Select a date on or before 2010-12-31
Data Properties
| Name | Type | Default | Description |
|---|---|---|---|
title | string | - | Field label |
placeholder | string | - | Placeholder text |
required | boolean | false | Whether the field is required |
Config Options
| Name | Type | Default | Description |
|---|---|---|---|
variant | enum | default | default, boxed, minimal, floating |
size | enum | md | sm, md, lg |
icon | string | - | Icon name (typically 'calendar') |
helpText | string | - | Help text below the input |
Validation Rules
| Name | Type | Default | Description |
|---|---|---|---|
minDate | YYYY-MM-DD | - | Earliest selectable date |
maxDate | YYYY-MM-DD | - | Latest selectable date |
allowedDates | string[] | - | Only these dates can be selected |
disabledDates | string[] | - | These dates are blocked |
customMessage | string | - | Custom error message |