Free, open-source date range picker component
Built with React, Radix UI, and Tailwind CSS
Features multi-month views, preset ranges, and date comparisons
Highly customizable with utility-first styling
MIT-licensed, built by John Polacek
DateRangePicker is a free, open-source date range picker component designed for React, built by John Polacek using Radix UI and Tailwind CSS. It provides a dropdown interface for selecting date ranges with features like multi-month views, preset ranges, and date comparisons, making it ideal for dashboards, analytics reports, or booking systems. DateRangePicker fits the All UtilityCSS platform’s Tailwind CSS List, perfect for developers seeking utility-first components for advanced date selection.
Multi-Month Views: Display multiple months for easier range selection, styled with Tailwind CSS.
Tailwind CSS Styling: Utility-first classes for layout, colors, and responsiveness.
Preset Ranges: Quick-select options like "Last 7 Days," styled with Tailwind.
Date Comparison: Compare two date ranges, with Tailwind CSS for visual clarity.
Text Entry: Manually input dates, styled with Tailwind’s p-2 border.
Responsive Design: Adapts to all screens with Tailwind’s sm:, md: utilities.
Advanced date selection with Tailwind CSS for utility-first styling.
Free under MIT license, aligning with All UtilityCSS’s open-source focus.
Responsive and customizable with Tailwind’s utility classes.
Ideal for booking systems, analytics, or dashboards.
Active community interest, as noted in posts on X.
Requires Tailwind CSS and Radix UI setup, adding initial configuration.
React-only, limiting use in non-React projects.
Some users on X reported issues with changing start dates.
Relies on Radix UI icons, requiring additional installation or customization.
DateRangePicker includes components for date range selection:
DateRangePicker: Core component for selecting date ranges, styled with Tailwind’s flex gap-2.
DateInput: Text input for manual date entry, styled with Tailwind’s border rounded.
Calendar View: Multi-month calendar styled with Tailwind’s grid gap-4.
Preset Options: Quick-select buttons styled with Tailwind’s bg-gray-100.
DateRangePicker operates on a Free model:
Free Access: Fully open-source under the MIT license, installable via npm i date-range-picker-for-shadcn.
DateRangePicker integrates with:
React: Core framework for the component.
Tailwind CSS: Utility-first styling for responsive design.
Radix UI: Provides icons and structural components.
It’s a free date range picker for React, styled with Tailwind CSS for utility-first design.
Yes, it’s fully free under the MIT license.
No, it’s designed for React, aligning with Tailwind CSS List.
Yes, it includes keyboard navigation support.
Highly, with Tailwind CSS classes for styling adjustments.
Reusable component for shadcn using Radix UI and Tailwind CSS.
Submit your Shadcn product to AllShadcn, get featured, and drive genuine traffic while showcasing your work to the world. Turn your creativity into revenue and begin selling today! 🚀