GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - flatpickr/flatpickr: lightweight, powerful javascript datetimepicker with no dependencies

BranchesTags
Open more actions menu

Latest commit

 

History

2,867 Commits
2,867 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
__tests__
__tests__
 
 
config
config
 
 
src
src
 
 
.babelrc
.babelrc
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
.prettierrc.js
.prettierrc.js
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
build.ts
build.ts
 
 
custom.d.ts
custom.d.ts
 
 
index.template.html
index.template.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.declarations.json
tsconfig.declarations.json
 
 
tsconfig.esm.json
tsconfig.esm.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

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:

  • angular2+-flatpickr addon
  • angularJS-flatpickr addon
  • ember-flatpickr addon
  • Preact Component
  • React Component
  • Stimulus.js Controller
  • Svelte Component
  • vue-flatpickr component
  • lit-flatpickr component

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

About

lightweight, powerful javascript datetimepicker with no dependencies

flatpickr.js.org

Topics

datedatepickerdaterangedaterangepickerdatetimedatetime-pickertimepicker

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

16.5k stars

Watchers

189 watching

Forks

1.5k forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.