Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mskocik/svelty-picker

Simple date & time picker in svelte
https://github.com/mskocik/svelty-picker

datepicker datetime datetimepicker svelte timepicker

Last synced: about 21 hours ago
JSON representation

Simple date & time picker in svelte

Awesome Lists containing this project

README

        

# 📅 Svelty Picker [![NPM version](https://img.shields.io/npm/v/svelty-picker.svg?style=flat)](https://www.npmjs.org/package/svelty-picker)

Simple date & time picker implemented in svelte.

Features:
- date/time/datetime/range picker mode
- various formatting options
- keyboard navigation
- replacable slots
- themable
- customizable disabled dates

## ⚙️ Install

```js
npm install svelty-picker
```

If you need svelte 4 version:

```js
npm install svelty-picker@5
```

### Documentation

For more details check the [documentation](https://svelty-picker.vercel.app/)

## 🏆 Thanks to:

- [Bootstrap datepicker](https://github.com/smalot/bootstrap-datetimepicker/blob/master/js/bootstrap-datetimepicker.js) for some internal date and format handling

## Licence

MIT