Skip to content

Primitives for extensible React datepicker components

Notifications You must be signed in to change notification settings

frontsideair/savethedate

Repository files navigation

savethedate

Travis npm package Coveralls

All the primitives to build your own datepicker component.

Demos

Why?

Today if you need a datepicker component, there are tons to choose from. But each come with their own visual language. You're in luck if you use one of the popular UI frameworks, but if you have your own design system, you have to write a ton of CSS to make it look like one of your own, and you can't use your own components.

I encountered this problem and tried to build a datepicker component that doesn't enforce how it will look, but how it will behave. It uses the popular render props pattern to run the business logic and give you the necessary information to draw it using your own components, styling solution etc.

Roadmap

  • Accessibility (look at the excellent react-dates library by Airbnb)
  • i18n
  • Write API documentation
  • Write Reactstrap example
  • Write Semantic UI example
  • Publish examples to npm so they can be used/integrated
  • Tests!

About

Primitives for extensible React datepicker components

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published