Date Field Input
Date Field Input: Custom calendar popover with month navigation, today shortcut, min/max limits, and styled day grid — no native browser picker. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Date Field Input
npx motion-ui-skill add date-field-inputComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactreacttailwind-merge
Source files
Date Field Input
Custom calendar popover with month navigation, today shortcut, min/max limits, and styled day grid — no native browser picker.
Install
npx motion-ui-skill add date-field-input
Dependencies
clsxlucide-reactreacttailwind-merge
Usage
"use client";
import { DateFieldInput } from "@/components/inputs/date-field-input";
export function DateFieldInputDemo() {
return (
<div className="flex items-center justify-center p-6">
<DateFieldInput />
</div>
);
}
API Reference
DateFieldInput
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |