Open GitHub repository
ComponentsDate Picker

Date Picker

Combines a calendar with a compact trigger for controlled or uncontrolled date selection.

Installation

bunx @swift-rust/ui add date-picker

Usage

tsx
1import { DatePicker } from "@/components/ui/date-picker";
2 
3<DatePicker
4 placeholder="Choose a launch date"
5 onChange={(date) => console.log(date)}
6/>

Examples