Dev Design Library

Date Range Picker

Paints the range as you hover, then commits it on the second click.

Date Range Picker preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/date-range-picker.json
Files
  • src/lab/components/date-range-picker.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab