# Calendar

Presents dates in a navigable month view for selecting or reviewing a date. Use it inside forms, popovers, or scheduling flows.

Package: `@kela-systems/ui-components` 4.1.0

```tsx
import { Calendar, CalendarDayButton } from "@kela-systems/ui-components";
```

Links (Kela sign-in needed): [Storybook](https://main--6af1efd9453270bb59a6c00c.chromatic.com/?path=/docs/components-calendar--docs), [Source](https://github.com/Kela-Systems/kela/tree/main/packages/next/ui-components/src/calendar), [Figma](https://www.figma.com/design/anhlwrbFM6mUiL0klxeK1I/ARK---Design-System?node-id=37-1900)

## Props

A `className` on a part adds layout only: placement, sizing and spacing. Pick a look with a variant.

### Calendar

| Variant | Values | Default |
| --- | --- | --- |
| `buttonVariant` | `link`, `default`, `destructive`, `secondary`, `outline`, `ghost` | `ghost` |

Also takes the props of `react-day-picker`.

### CalendarDayButton

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `locale` | `Partial<Locale>` |  |  |
| `ref` | `React.Ref<HTMLButtonElement>` |  |  |

Also takes the props of `react-day-picker`.
