An open API service indexing awesome lists of open source software.

https://github.com/sylcastaing/react-next-dates

Simple and Customizable DatePicker, DateRangePicker and TimePicker for React.
https://github.com/sylcastaing/react-next-dates

calendar clock date datepicker daterangepicker datetimepicker react typescript

Last synced: 9 months ago
JSON representation

Simple and Customizable DatePicker, DateRangePicker and TimePicker for React.

Awesome Lists containing this project

README

          




Simple and Customizable DatePicker, DateRangePicker and TimePicker.


![npm](https://img.shields.io/npm/v/react-next-dates?style=flat-square)
![NPM](https://img.shields.io/npm/l/react-next-dates?style=flat-square)
![npm](https://img.shields.io/npm/dm/react-next-dates?style=flat-square)

# Installation

`React Next Dates` is available on [NPM](https://www.npmjs.com/package/react-next-dates).

For date operations and translations, React Next Dates use [date-fns](https://date-fns.org/) as peerDependencies. Don't forget to install it.

## Install package

### With NPM :

```sh
npm install react-next-dates date-fns --save
```

### With Yarn :

```sh
yarn add react-next-dates date-fns
```

### Peer Dependencies

| Library | Version |
| --------- | -------- |
| date-fns | `^2.0.0` |
| react | `>=16` |
| react-dom | `>=16` |

## Add styles

Don't forget to inject stylesheet on your app.

### CSS

```js
import 'react-next-dates/dist/style.css';
```

### Sass

```js
import 'react-next-dates/dist/style.scss';
```

> See [Theming Section](https://sylcastaing.github.io/react-next-dates/docs/documentation-theming--page)

# Documentation

All documentation is available on [StoryBook](https://sylcastaing.github.io/react-next-dates).

**Quick links** :

- [Installation](https://sylcastaing.github.io/react-next-dates/docs/documentation-installation--page)
- [Theming](https://sylcastaing.github.io/react-next-dates/docs/documentation-theming--page)
- [Customization](https://sylcastaing.github.io/react-next-dates/docs/documentation-customization)
- [DatePicker](https://sylcastaing.github.io/react-next-dates/docs/components-datepicker)
- [DateRangePicker](https://sylcastaing.github.io/react-next-dates/docs/components-daterangepicker)
- [TimePicker](https://sylcastaing.github.io/react-next-dates/docs/components-timepicke)

# Development

This library was created with [dts](https://weiran-zsd.github.io/dts-cli)

# Credits

React Next Dates is highly inspired by :

- [React Nice Dates](https://reactnicedates.hernansartorio.com/)
- [Jquery Clock TimePicker](https://github.com/loebi-ch/jquery-clock-timepicker)