MindeesUI
ComponentsDisplay

Calendar

A dependency-free month calendar with prev/next navigation and a selectable, highlighted day.

Calendar renders a single month grid with weekday headers and previous/next navigation. It is pure JS — no date library — and tracks the visible month independently of the selected day. Tapping a day fires onChange with a Date. It also powers DatePicker and DateRangePicker.

Import

import { Calendar } from '@mindees/ui';

Usage

<Calendar value={selected} onChange={setSelected} />

Props

PropTypeDefaultDescription
valueDateCurrently-selected date (controlled).
onChange(date: Date) => voidFires when a day is tapped.
defaultMonthDatevalue or todayMonth shown initially when uncontrolled.
styleStyleProp<ViewStyle>Style applied to the container.

Inherits the remaining ViewProps (except style).

Accessibility

The month/year heading uses accessibilityRole="header", and the prev/next controls are labelled Previous month / Next month. Each day is a button exposing a selected state with a full date label such as March 14, 2026.

On this page