Date Range Picker Card
Date Range Picker Card: Travel-style date range picker — first tap sets check-in, second sets check-out, days between fill in. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Date Range Picker Card
npx motion-ui-skill add date-range-picker-cardComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactreacttailwind-merge
Source files
Date Range Picker Card
Travel-style date range picker — first tap sets check-in, second sets check-out, days between fill in.
Install
npx motion-ui-skill add date-range-picker-card
Dependencies
clsxlucide-reactreacttailwind-merge
Usage
"use client";
import { DateRangePickerCard } from "@/components/calendar/date-range-picker-card";
export function DateRangePickerCardDemo() {
return (
<div className="flex items-center justify-center p-6">
<DateRangePickerCard />
</div>
);
}
API Reference
DateRangePickerCard
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |