# SiCalendarButtonComponent documentation

**Kind:** component

**Selector:** `si-calendar-button`

```
import { SiCalendarButtonComponent } from '@siemens/element-ng/datepicker';
```

Calendar toggle button used in combination with a datepicker directive.

Example:

```
<si-calendar-button class="w-100">
  <input
    class="form-control"
    type="text"
    siDatepicker
    [siDatepickerConfig]="config"
  />
</si-calendar-button>
```

```
component SiCalendarButtonComponent implements OnInit, AfterContentInit
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [ariaLabel](<https://github.com/siemens/element/blob/main/projects/element-ng/datepicker/si-calendar-button.component.ts#L74-L76>) | `TranslatableString` | `` $localize`:@@SI_DATEPICKER.CALENDAR_TOGGLE_BUTTON:Open calendar` `` | Aria label for the calendar toggle button. |

### Types Documentation

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';
```

Represents a translatable string. This can either be a translation key, e.g. `ACTIONS.EDIT` that will be automatically translated when displayed on the UI or a pre-translated string, e.g. `Edit`. Equivalent to a normal string in usage and functionality.

```
type TranslatableString = string & Translatable
```
