# Calendar
> A month grid for picking a day.
Source: https://native.shellui.dev/docs/components/form/calendar
## Installation
```bash
shellui-native add calendar
```
**Platforms:** MAUI ยท Avalonia. Also installs `icon`.
## Usage
### Basic
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=calendar-basic)
## API
| Property | Type | Default | Description |
|---|---|---|---|
| `SelectedDate` | `DateTime?` | Today | Selected date. |
| `MinimumDate` | `DateTime?` | `null` | Earliest selectable date; `null` for no limit. |
| `MaximumDate` | `DateTime?` | `null` | Latest selectable date; `null` for no limit. |
| `RangeStart` | `DateTime?` | `null` | First day of a highlighted span of days. |
| `RangeEnd` | `DateTime?` | `null` | Last day of the highlighted span. |
| Event | Arguments | Description |
|---|---|---|
| `DateSelected` | `DateTime` | A day was picked. |