Date Picker
A date picker component with a calendar popover.
Preview
Installation
bash
npx auralix-ui add date-pickerUsage
Date Picker Demo
tsx
import { DatePicker } from "@/components/ui/DatePicker";
const [date, setDate] = React.useState<Date>();
<DatePicker date={date} setDate={setDate} />Props
| Name | Type | Default | Description |
|---|---|---|---|
date | Date | - | Selected date. |
Variants
Standard
With Label
Pick a date
Preselected
On this page