Components
Calendar
A date field component that allows users to enter and edit date.
June 2026
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
Installation
npm install @mijn-ui/react-calendarUsage
import { Calendar } from "@mijn-ui/react-calendar"const [date, setDate] = React.useState<Date | undefined>(new Date())
return (
<Calendar
mode="single"
selected={date}
onSelect={setDate}
className="rounded-md border"
/>
)API Reference
Standard element attributes are forwarded to the underlying component in addition to the props below.
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Additional classes for the root element. |