Inputs and selection
Calendar
month grid
function CalendarDemo() { const [d, setD] = React.useState<Date | undefined>(new Date()); return <Calendar value={d} onChange={setD} className="w-full" />;}API
<Calendar value onChange />Get it
Already in every copy of the native kit:
import { Calendar } from '@/components/kit/calendar';Details
- Exports
Calendar- Packages
- lucide-react-native@^1.21.0
- Installs with
- @halftone-native/icon, @halftone-native/lib-haptics, @halftone-native/lib-utils, @halftone-native/text
- Also searched as
- month, day grid
- Registry JSON
- /r/native/calendar.json
function CalendarDemo() { const [range, setRange] = React.useState<{ from: Date | undefined; to?: Date | undefined } | undefined>({ from: new Date(2026, 6, 13), to: new Date(2026, 6, 17), }); return <Calendar mode="range" selected={range} onSelect={setRange} defaultMonth={new Date(2026, 6, 1)} className="border-border rounded-xl border" />;}Usage
On its own for booking and availability views; inside a form, use DatePicker.
API
<Calendar mode="single" selected onSelect disabled? />Get it
Already in every copy of the web kit:
import { Calendar, CalendarDayButton } from '@/components/ui/calendar';Details
- Exports
Calendar,CalendarDayButton- Packages
- cn@^0.5.2, lucide-react@^1.52.0, react-day-picker@^10.0.2
- Installs with
- @halftone-web/button
- Also searched as
- month, date range, availability
- Registry JSON
- /r/web/calendar.json
Agents: the whole registry is at /llms.txt.