Skip to content

BankkRoll/Date-Time-Range-Picker

Repository files navigation

Date Time Range Picker

A suite of beautiful, accessible, and fully customizable date and time picker components for modern React apps. Built with shadcn/ui.

image


🚀 Installation

Quick Install (Recommended):

npx shadcn add https://date-time-range-picker.vercel.app/r/date-time-range-picker.json

Instantly adds all components and dependencies. No manual copying required.


📦 Components

  • DateTimeRangePicker – Select a range of dates and times.
  • DateRangePicker – Select a range of dates.
  • DateTimeInput – Input both date and time.
  • DateInput – Input dates.
  • TimeInput – Input times.

🛠️ Usage

import { DateTimeRangePicker } from "@/components/date-time-range-picker";

export default function Example() {
  return (
    <DateTimeRangePicker
      onUpdate={(values) => console.log(values)}
      initialDateFrom={new Date()}
      initialDateTo={new Date(new Date().setDate(new Date().getDate() + 7))}
    />
  );
}

See the /components/date-time-range-picker/ directory for all available pickers and their props.


🎨 Customization

  • Built with shadcn/ui — inherits your project's theme.
  • Fully composable and accessible.
  • Easily style with Tailwind or your own CSS.

📚 Documentation


📝 License

MIT

Releases

No releases published

Packages

 
 
 

Contributors