Components
Loading preview...
The DropdownRangeDatePicker is a popover-based date range selection component that combines intuitive navigation with a compact input interface. Built with shadcn/ui and react-day-picker, it features dropdown menus for selecting month and year, allowing users to jump directly to any part of the calendar without excessive navigation. The selected range is displayed within a styled input button, with long date ranges gracefully truncated to fit while still providing a clean preview of the chosen values. With built-in Clear and Apply actions, this component is ideal for booking systems, scheduling workflows, and dashboards where users need to quickly pick and confirm date ranges in a modern, space-efficient way.
npx shadcn@latest add https://21st.dev/r/ruixen.ui/dropdown-range-date-picker"use client";
import { DropdownRangeDatePicker } from "@/components/ui/dropdown-range-date-picker";
export default function DropdownRangeDatePickerDemoPage() {
return (
<div className="flex min-h-screen items-center justify-center">
<DropdownRangeDatePicker />
</div>
);
}