Forms
Calendar
A month grid for picking a single date, with today marked and previous and next month controls.
Group: Forms. Exports: Calendar. shadcn/ui equivalent: Calendar (partial parity).
Usage
import { Calendar } from "./halaska-kit";
Calendar props
valueany: The controlled value.onChange(value) => void: Called with the new value.
Accessibility
- Previous and next are labelled buttons, and the month heading is a polite live region.
- Each day is a native button labelled with its full date. The selected day sets aria-pressed and today sets aria-current.
- Arrow keys move focus by a day or a week within the month shown. They do not cross into another month.
- Every day is a Tab stop, and there is no grid role.
Known gaps
- Single date only: no range or multiple selection.
- No disabled dates, and no minimum or maximum date.
- No month or year dropdown, and one month at a time.
- The week always starts on Sunday.
Used in
Contextual taskbar, Spaces and agents
Halaska UI · Components · Patterns · Screens · Install