View as Markdown

API reference: @salmonui/calendars/calendar

DateInputtype

import type { DateInput } from '@salmonui/calendars/calendar';

Also exported from @salmonui/calendars/date-picker, @salmonui/calendars/date-range-picker, @salmonui/calendars/time-picker.

type DateInput = PlainDateLike | Date | string;

A date value: fields, a Date (an instant, read in the time zone) or an ISO 8601 string ('2026-11-23').