A lightweight datepicker with neat animations and a unique UX.
The Svelte Calendar is a small date picker built with Svelte 3. It offers various features such as day, month, and year pickers, keyboard, touch, and scroll support, inline and picker modes, and a virtual/infinite grid for animation performance. It also supports localization using day.js.
To use the Svelte Calendar component within a Svelte-Kit application, follow these steps:
npm install just-throttle dayjs
svelte.config.js
file and add the following code to include the dependencies in the config.kit.vite.optimizeDeps.include
array:optimizeDeps: {
include: ['just-throttle', 'dayjs']
}
The Svelte Calendar is a feature-rich date picker built with Svelte 3. It offers various pickers, supports responsive design and multiple input methods, and provides performance optimization with its virtual grid. It can be easily integrated with existing Svelte stores and supports localization using the day.js library. To use it in a Svelte-Kit project, make sure to install the required dependencies and include them in the project configuration.