# johnpolacek/date-range-picker-for-shadcn

DateRangePicker is a reusable component for shadcn using Radix UI and Tailwind CSS. Includes preset date ranges, text entry, calendar selection and date comparison

Repository: https://github.com/johnpolacek/date-range-picker-for-shadcn
Canonical: https://ross.abutalabs.com/products/date-range-picker-for-shadcn
Homepage: https://date-range-picker-for-shadcn-demo.vercel.app/
Language: TypeScript
License: MIT
License Family: permissive
Topics: datepicker, shadcn, shadcn-ui, tailwind, tailwind-css
Last push: 2024-04-13T14:32:08+00:00

## Health v2 (maintenance only)
Score: 28/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 81
- inputs: {"age_days": 1141, "days_push": 872, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1018, forks 43 (observed 2026-08-28T04:03:14.934335+00:00)

## What it is
A reusable DateRangePicker component for shadcn/ui built with Radix UI and Tailwind CSS. It offers a dropdown interface with calendar selection, text entry, preset date ranges, and optional date range comparison.

## Use cases
- add a date range picker to a shadcn/react app
- let users pick preset date ranges like last 7 days
- compare two date ranges in an analytics dashboard
- date picker with both calendar and text input
- responsive multi-month date range selection

## When to choose
- you already use shadcn/ui with Tailwind CSS
- you want copy-paste component code you fully own and can customize
- you need preset ranges and date comparison out of the box

## When to avoid
- your project does not use shadcn/ui or Tailwind CSS
- you need a standalone npm package with versioned releases rather than copied source
- you need a non-React framework component

## Facets
- artifact type: plugin
- maturity: active
- function: ui-components, date-time, form-handling
- domain: frontend, web-development, web-design
- platform: -
- tags: shadcn, tailwind-css, radix-ui, datepicker, date-range, typescript, copy-paste-component, react, nodejs, web-server

## Member repositories
- johnpolacek/date-range-picker-for-shadcn (main) score 28

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:14.934335+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:09:29.028409+00:00, confidence not recorded.
  - readme: https://github.com/johnpolacek/date-range-picker-for-shadcn (fetched 2026-08-28T04:03:14.934335+00:00, sha 21b0439e8b91)
  - homepage: https://date-range-picker-for-shadcn-demo.vercel.app/ (fetched 2026-08-29T13:09:58.994044+00:00, sha a3e5180c4408)
- Data as of 2026-08-30T08:39:29.467469+00:00.
