flatpickr
Keep, but not for new work. 8th of 9 calendars and date pickers.
flatpickr is a small, dependency-free vanilla JavaScript date and time picker. It is still widely installed, but its last release was in April 2022 and nobody has committed since August 2024. It works where it already runs, but a maintained picker is the safer choice for new work.
Best for: Teams that already run flatpickr, or that need a quick date/time input without a framework and accept that bugs will not be fixed upstream.
Scores
Overall4.0
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 3.5, likely 2.5 to 4.5
It still works and it is light, but upstream has stopped: no release in four and a half years and no commits in the last year. Its share is falling compared with maintained peers. React DayPicker, React Datepicker, Vue Datepicker and Cally are maintained and do accessible picking better, so keep flatpickr where it runs and pick one of them for new work. The range stays open because the flatpickr-ce fork could revive the code.
- npm latestPublishedAt: No release since April 2022
- peers React DayPicker downloads: Maintained peer growing much faster (ratio about 7.2)
- github.com/flatpickr/flatpickr/issues/2984: Maintenance stalled, no new maintainers named
- dev.to/rolldate/the-state-of-javascript-date-pickers-in-2026-17bh: Still seen as mature, with an older API design
GPT-6.2 Sol: 4.4, likely 3.4 to 5.6
Keep flatpickr in existing forms where it meets the requirements. For new React date pickers, React DayPicker has more recent maintenance and better-documented keyboard behavior, while FullCalendar is a stronger fit for event views. The range leaves room for plain JavaScript forms that benefit from flatpickr's built-in time control and date rules despite the long release gap.
- flatpickr.js.org/examples: Date and time controls and selection rules still fit common form needs.
- github latestRelease, commitsLastYear, peers: Upstream has stood still while React DayPicker and other peers shipped updates.
- daypicker.dev/guides/accessibility: The React peer documents focus management, labels, and keyboard commands.
- fullcalendar.io/docs: FullCalendar provides event sources, views, and event interaction.
Needed by many5.8
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Many web apps need a date or time input. flatpickr needs no framework, so it fits React, Vue, server-rendered and plain HTML projects alike. It does not show events on a calendar, so it covers only the picker half of the category.
- github description: Datetime picker with no dependencies and no framework
- dev.to/rolldate/the-state-of-javascript-date-pickers-in-2026-17bh: Supports single, range and multiple dates plus time
GPT-6.2 Sol: 5.6, likely 4.3 to 6.9
Date selection is common in booking, filtering, and administrative forms, and flatpickr works across browser frameworks. Native inputs cover many simple fields, while event display falls outside flatpickr's scope. The available evidence gives only a rough sense of how often developers need a custom picker.
- flatpickr.js.org/examples: Browser form examples cover dates, times, ranges, and disabled dates.
- developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/date: Native date inputs are widely available and support basic limits.
- fullcalendar.io/docs: Event calendars serve a separate need within the category.
Helps a lot5.9
How well does it do the job for those who need it?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
It has many features, it is small, and it does the core job well. It also has known open bugs, weak accessibility, and an API that a 2026 comparison calls dated. Those bugs will not be fixed upstream. Maintained peers such as React DayPicker and Cally do accessible picking better.
- dev.to/rolldate/the-state-of-javascript-date-pickers-in-2026-17bh: Mature and well documented, but older API design; some features need plugins
- github.com/flatpickr/flatpickr/discussions/2684: Accessibility gaps, worst for date ranges
- github openIssues: 724 open issues, 132 open PRs
- npm hasTypes: Ships TypeScript types
GPT-6.2 Sol: 6.7, likely 5.6 to 7.8
Version 4.6.13 covers most form selection needs, with useful defaults, bundled types, and examples that give coding agents clear patterns to follow. Users report unresolved keyboard focus problems and date shifts with some UTC input formats. The range reflects how much those issues depend on configuration and how little comparative performance or coding-agent testing is available.
- flatpickr.js.org/examples: Working examples cover common configurations.
- npm latestVersion, hasTypes, dependencies: Version 4.6.13 bundles declarations and has zero runtime dependencies.
- github.com/flatpickr/flatpickr/issues/2485: Users report month and year controls outside the tab order, with shortcuts available.
- github.com/flatpickr/flatpickr/issues/2930: A user reports date drift with manual entry and UTC formatting.
Holds up over time2.0
Will it still be a good choice in two years?
Claude Opus 5.5: 1.5, likely 1.0 to 3.0
It has had no release since April 2022, no commits in the last year, and no push since August 2024. The maintainer wrote in 2024 that he was short on time and looking for reviewers, and none were appointed. A community fork (flatpickr-ce) appeared in November 2026, which shows that users are moving to forks.
- github commitsLastYear / releasesLastYear: 0 commits and 0 releases in the last year
- npm latestPublishedAt: Last publish 2022-04-14
- github.com/flatpickr/flatpickr/issues/2984: Users ask if it is maintained; maintainer says he is short on time
- github.com/flatpickr/flatpickr/issues: Nov 2026 issue announces flatpickr-ce, a maintained fork
GPT-6.2 Sol: 2.5, likely 1.5 to 3.8
The original project released its last version in April 2022 and recorded zero commits in the past year, with 132 pull requests open. A maintainer discussed adding maintainers in 2024, and the release history still shows no restart. The mature API could keep working for years, but the backlog and recent user reports make future fixes hard to count on.
- github commitsLastYear, releasesLastYear, latestRelease, openPullRequests: Zero commits or releases in the past year and 132 open pull requests.
- github.com/flatpickr/flatpickr/releases: Version 4.6.13 remains the latest upstream release.
- github.com/flatpickr/flatpickr/discussions/2479: A November 2024 maintainer update discussed adding maintainers.
- github.com/flatpickr/flatpickr/discussions/3036: Users report working deployments and concern about the pull request backlog.
Used widely5.8
How many use it, and is that growing?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
About 9.9M downloads in 4 weeks and about 14k dependent repos is a large installed base. That is the third-highest dependent count among the peers. The download ratio is 2.3, well below the 4.1 median, so it is losing ground. Wrappers and old codebases account for much of the volume, not new choices.
- npm downloadsLast4Weeks: 9.85M now vs 4.33M a year ago, ratio 2.28 vs median 4.1
- dependents: 13,971 repos and 841 packages
- github stars: 16.4k stars, built up over ten years
- bluesky posts: No Bluesky or HN attention in the period
GPT-6.2 Sol: 5.6, likely 4.5 to 6.7
The index found 13,971 dependent repositories and 841 packages, a sizable installed base that trails React Datepicker and leads React DayPicker on indexed repositories. Four-week downloads grew from 4.33 million to 9.85 million, or 2.28 times, well below the catalog median of 4.1 times. That points to lost ground on the catalog's install measure, while repeat installs, framework integrations, CDN usage, and partial indexing leave direct adoption uncertain.
- dependents: 13,971 indexed repositories and 841 indexed npm packages.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Download growth of 2.28 times trails the 4.1-times catalog median.
- github stars, peers: 16,446 stars and the third-largest indexed repository count among the listed projects with counts.
- cdnjs.com/libraries/flatpickr/4.6.13: The stable build is also distributed through a CDN.
Vouched for5.3
Who stands behind it being good?
Claude Opus 5.5: 4.0, likely 3.0 to 6.0
Many products and CMS modules have built on it over the years, Drupal and Koha among them. Most of those endorsements are old. Current independent sources call it mature, but they also question its maintenance and accessibility. I found no current survey data.
- drupal.org/project/flatpickr: Drupal integration module, listed as minimally maintained
- bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28937: Koha library system adopted flatpickr
- yomotherboard.com/question/whats-a-well-maintained-vanilla-javascript-datepicker-with-accessibility-and-range-support: Users list flatpickr as inactive and suggest Cally
GPT-6.2 Sol: 6.5, likely 5.3 to 7.7
TYPO3 and OutSystems document flatpickr as part of their date and time controls, and a user reports running it successfully on three production sites. Those integrations show it can work at production scale. Evidence about how it compares with newer pickers is mixed, and direct satisfaction data is sparse.
- docs.typo3.org/m/typo3/reference-tca/14.3/en-us/ColumnsConfig/Type/Datetime/Index.html: TYPO3 14.3 documents its flatpickr date and time component.
- success.outsystems.com/documentation/outsystems_developer_cloud/building_apps/user_interface/patterns/interaction/date_picker: OutSystems Developer Cloud bases its Date Picker on flatpickr.
- github.com/flatpickr/flatpickr/discussions/3036: A user reports successful use on three high-traffic production sites.
- github.com/ghiscoding/slickgrid-universal/blob/master/packages/vanilla-bundle/CHANGELOG.md: Slickgrid Universal switched to Vanilla Calendar.
Safe5.8
How safe is it to depend on?
Claude Opus 5.5: 6.0, likely 4.5 to 7.5
It has zero dependencies, no known advisories and an MIT licence, so the attack surface is small. The OpenSSF Scorecard is 3.4, with no security policy, unpinned dependencies and a maintenance score of 0. Any future vulnerability is unlikely to get an upstream fix.
- npm dependencies: 0 runtime dependencies
- advisories total: No OSV advisories
- scorecard score: 3.4; Maintained 0, Security-Policy 0, Pinned-Dependencies 0
- npm license: MIT
GPT-6.2 Sol: 5.6, likely 4.1 to 7.0
The MIT license, zero runtime dependencies, and zero recorded OSV advisories count in its favor. OpenSSF scores it 3.4 out of 10, with weak workflow token permissions and dependency pinning, and GitHub lists no security policy. npm lists two collaborators, with the latest release attributed to one of them. An open report involving untrusted configuration and the long release gap leave uncertainty about how quickly a fix would ship.
- npm license, dependencies, advisories total: MIT license, zero runtime dependencies, and zero OSV advisories.
- scorecard score, checks: 3.4 overall, with zero scores for token permissions, pinning, and security policy.
- npmjs.com/package/flatpickr?activeTab=code: The npm listing names two package collaborators.
- github.com/flatpickr/flatpickr/security: GitHub shows no security policy or published repository advisories.
- github.com/flatpickr/flatpickr/issues: The issue tracker lists an open report about untrusted configuration.
Good
- It has zero dependencies and a small bundle, and it works in any framework or in plain HTML.
- One widget handles single dates, ranges, multiple dates and time, with 12h and 24h modes.
- It has many locales, plugins and themes, and wrappers exist for React, Vue, Angular and server frameworks.
- It ships TypeScript types, and AI agents know its long-stable API well.
Bad
- The last release was v4.6.13 in April 2022, and there were no commits in the last year.
- More than 700 open issues and 130 open pull requests have no response, including iOS and range bugs.
- Keyboard and screen-reader support is weak, and fixing it needs a third-party add-on.
- It cannot show events on a calendar, so it covers only half of the category's job.
The numbers
- npm downloads, 4 weeks
- 9.9M ×2.3 in a year
- GitHub stars
- 16k
- Commits, 12 months
- 0
- npm version
- 4.6.13 Apr 2022
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 3.4 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (flatpickr/flatpickr), npm (flatpickr), OSV and the OpenSSF Scorecard.
Calendars and date pickers
- 8.1FullCalendar
- 8.1React DayPicker
- 6.9Vue Datepicker
- 6.5Cally
- 6.3Schedule-X
- 6.1React Datepicker
- 5.6React Big Calendar
- 4.0flatpickr
- 1.8Pikaday