# CalendarGranularity (@salmonui/calendars/calendar)

> The CalendarGranularity type of @salmonui/calendars/calendar: What a calendar selects: days, months (day 1) or years (January 1).

Canonical: https://salmonui.dev/docs/reference/calendars/calendar/CalendarGranularity

```ts
import type { CalendarGranularity } from '@salmonui/calendars/calendar';
```

Entry index: https://salmonui.dev/docs/reference/calendars/calendar (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/calendars/calendar.md).

## Reference

Kind: type

```ts
type CalendarGranularity = 'day' | 'month' | 'year';
```

What a calendar selects: days, months (day 1) or years (January 1).
