Date Picker

unreleasedstable

A trigger and calendar popup for selecting dates.

API Reference
tsxUsage
import {
  DatePicker,
  DatePickerContent,
  DatePickerTrigger,
} from "@/components/ui/date-picker";
 
export function Component() {
  return (
    <DatePicker>
      <DatePickerTrigger placeholder="Select date" />
      <DatePickerContent />
    </DatePicker>
  );
}

DatePicker

Root owner for selected date, popup state, calendar month state, and popup positioning.

DatePickerContent

Portaled calendar popup content with grid navigation and selectable day cells.

Calendar

Standalone calendar root exported from the same registry source.

Keystone UI is a new, modern UI component library for SolidJS.

Back to top