> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lyzn.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# DatePicker

> Date selection input

# DatePicker

The `DatePicker` component provides a user-friendly way to select a date.

## Usage

```jsx theme={null}
<DatePicker label="Birth Date" name="birthdate" />
```

## Props

<ResponseField name="label" type="string">
  Label text.
</ResponseField>

<ResponseField name="name" type="string">
  Field name.
</ResponseField>

<ResponseField name="placeholder" type="string">
  Placeholder text.
</ResponseField>

<ResponseField name="minDate" type="string">
  Minimum selectable date (ISO format).
</ResponseField>

<ResponseField name="maxDate" type="string">
  Maximum selectable date (ISO format).
</ResponseField>

## Examples

### Future Dates Only

```jsx theme={null}
<DatePicker 
  label="Scheduled Date" 
  minDate={new Date().toISOString()} 
/>
```
