---
title: "Calendar"
description: "A month to pick from. Use it where the date matters and there is room to show it."
group: "Forms"
order: 8
---

A month to pick from. Use it where the date matters and there is room to show it.

Styles: `components/item.css`, `components/card.css`, `components/calendar.css`.
Needs `moin.js`: calendar.

## One day

```html
<moin-calendar value="2026-11-09"></moin-calendar>
```

## Range

```html
<moin-calendar range months="2" min="2026-11-09" value="2026-11-20,2026-11-23"></moin-calendar>
```

## In a list

```html
<section class="moin-card">
  <div class="moin-list">
    <details class="moin-expand">
      <summary>
        <span class="moin-fill moin-truncate">Starts</span>
        <span class="moin-item-value" data-date>Nov 9, 2026</span>
        <i class="moin-chevron"></i>
      </summary>
      <div>
        <div class="moin-item">
          <moin-calendar value="2026-11-09"></moin-calendar>
        </div>
      </div>
    </details>
  </div>
</section>
```
