# flatpickr/flatpickr

lightweight, powerful javascript datetimepicker with no dependencies

Repository: https://github.com/flatpickr/flatpickr
Canonical: https://ross.abutalabs.com/products/flatpickr
Homepage: https://flatpickr.js.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: datetime, datetime-picker, datepicker, timepicker, daterange, date, daterangepicker
Last push: 2024-08-02T14:11:21+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4041, "days_push": 761, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 16480, forks 1454 (observed 2026-08-28T04:11:16.545073+00:00)

## What it is
flatpickr is a lightweight, dependency-free JavaScript datetime picker library for web forms, supporting date, time, range, and multiple-date selection. It ships with 51 locales, multiple themes, a plugin system, and wrappers for frameworks like React, Angular, Vue, and Ember.

## Use cases
- add a date picker to an html form
- javascript datetime picker with no jquery dependencies
- let users select a date range in a web app
- time-only picker input for scheduling forms
- localized calendar picker supporting many languages
- disable specific dates or ranges in a datepicker
- lightweight calendar widget for vanilla js or a bundler setup

## When to choose
- You need a small, dependency-free date/time picker that works in plain JavaScript or any framework
- You need range selection, multiple dates, or time picking in a single compact library
- You need broad locale support and polished themes out of the box

## When to avoid
- You need a full calendar or scheduling application rather than an input widget
- You are building a native mobile app and want platform-native date pickers
- Your UI framework already provides a date picker that matches your design system

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, form-handling, date-time, internationalization, theme
- domain: web-development, frontend
- platform: browser
- tags: datepicker, timepicker, datetime-picker, date-range-picker, calendar, zero-dependencies, vanilla-javascript, range-selection, form-input, typescript, localization

## Member repositories
- flatpickr/flatpickr (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:16.545073+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-29T17:05:05.331062+00:00, confidence not recorded.
  - readme: https://github.com/flatpickr/flatpickr (fetched 2026-08-28T04:11:16.545073+00:00, sha 98daa4531ad8)
  - homepage: https://flatpickr.js.org (fetched 2026-08-29T08:02:39.386316+00:00, sha 3de6edc3178f)
  - site_page: https://flatpickr.js.org/getting-started (fetched 2026-08-29T08:02:39.396078+00:00, sha 89d287e570fc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
