Skip to content

Conversation

ajaythakkar
Copy link

@ajaythakkar ajaythakkar commented Jul 2, 2025

Summary

This PR adds a fully accessible DateRangePicker component built using Reka-UI primitives. The component supports:

  • ✅ Keyboard accessibility
  • v-model and update:modelValue support
  • ✅ Range selection with visual feedback
  • ✅ Clearable selections
  • ✅ Optional custom paging logic (e.g., year-level paging)
  • ✅ Tailwind CSS styling via data- attributes

Files Added

  • apps/www/src/registry/default/ui/date-range-picker/DateRangePicker.vue
  • apps/www/src/registry/default/example/DateRangePicker.vue
  • apps/www/src/registry/default/ui/date-range-picker.json
  • apps/www/src/content/docs/components/date-range-picker.md

Let me know if you'd like this component extended to new-york style or need additional unit tests.

daterangess

Thanks!

@sadeghbarati
Copy link
Collaborator

We already have DateRangePicker but one difference is it's RangeCalendar compose with Popover

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants