Zurück zum Ranking

flatpickr/flatpickr

TypeScriptflatpickr.js.org

lightweight, powerful javascript datetimepicker with no dependencies

datetimedatetime-pickerdatepickertimepickerdaterangedatedaterangepicker
Sterne-Wachstum
Sterne
16.5k
Forks
1.5k
Wochenwachstum
Issues
724
5k10k15k
Jan. 2023März 2024Mai 2025Juli 2026
Artefaktenpmnpm install flatpickr
README

flatpickr - javascript datetime picker

Actions Status

Coverage npm version CDNJS License

blue green confetti red default dark

Motivation

Almost every large SPA or project involves date and time input. Browser's native implementations of those are inconsistent and limited in functionality. Most other libraries require you to pull in heavy dependencies like jQuery, Bootstrap, and moment.js. I wanted something that was good-looking out of the box, dependency-free, powerful, and extensible.

Feature overview:

  • Dependency-free (no bloated bundles)
  • Simple, polished UX
  • Date + time input
  • Range selections
  • Ability to select multiple dates
  • Can be used as just a time picker
  • Display dates in a human-friendly format
  • Easily disable specific dates, date ranges, or any date using arbitrary logic
  • Week numbers
  • 51 locales
  • 8 colorful themes (incl. dark and material)
  • Numerous plugins
  • Libraries available for React, Angular, Vue, Ember, and more

flatpickr provides more functionality at a fraction of the size of other libraries.

Compatibility

IE9 and up, Edge, iOS Safari 6+, Chrome 8+, Firefox 6+

Install & Use

Demos and documentation: https://flatpickr.js.org

See also:

Supporting flatpickr

flatpickr will never change its license, pester users for donations, or engage in other user-hostile behavior.

Nevertheless, if you enjoyed working with this library or if its made your life easier, you can buy me a cup of coffee :)

Buy Me a Coffee at ko-fi.com

Ähnliche Repositories
iamkun/dayjs

⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

JavaScriptnpmMIT Licensetimedate
day.js.org
48.7k2.5k
moment/luxon

⏱ A library for working with dates and times in JS

JavaScriptnpmMIT Licenseintltimezones
moment.github.io/luxon
16.4k786
arrow-py/arrow

🏹 Better dates & times for Python

PythonPyPIApache License 2.0pythonarrow
arrow.readthedocs.io
9.1k768
ijl/orjson

Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy

PythonPyPIApache License 2.0jsonpython
8.2k315
Eonasdan/tempus-dominus

This project is no longer active or supported.

HTMLMIT Licensepickertempus-dominus
getdatepicker.com
7.2k4.3k
python-pendulum/pendulum

Python datetimes made easy

PythonPyPIMIT Licensepythondatetime
pendulum.eustace.io
6.7k439
ldqk/Masuit.Tools

全龄段友好的C#万能工具库,码数吐司库,包含一些常用的操作类,大都是静态类,加密解密,反射操作,权重随机筛选算法,分布式短id,表达式树,linq扩展,文件压缩,多线程下载,硬件信息,字符串扩展方法,日期时间扩展操作,中国农历,大文件拷贝,图像裁剪,验证码,断点续传,集合扩展、Excel导出等常用封装。诸多功能集一身,代码量不到2MB!

C#MIT Licenselambdareflection
masuit.tools
6.2k1.3k
hustcc/timeago.js

:clock8: :hourglass: timeago.js is a tiny(2.0 kb) library used to format date with `*** time ago` statement.

TypeScriptnpmMIT Licensetimeagodatetime
timeago.ling.pub
5.4k404
dromara/carbon

A simple, semantic and developer-friendly time package for golang

GoGo ModulesMIT Licensecarbondate
carbon.go-pkg.com
5.2k265
HowardHinnant/date

A date and time library based on the C++11/14/17 <chrono> header

C++Otherdatedatetime
3.4k735
wolfcw/libfaketime

libfaketime modifies the system time for a single application

CGNU General Public License v2.0ld-preloaddatetime
github.com/wolfcw/libfaketime
3.1k376
Kotlin/kotlinx-datetime

KotlinX multiplatform date/time library

KotlinApache License 2.0kotlindate
2.8k131