Menu
Libraries |
Category

svelte-datepicker

  • A lightweight and inclusive date picker built with Svelte (currently in alpha version).
  • Supports multiple date management libraries: date-fns, dayjs, luxon, and moment via date-io adapters.
  • Provides day and year picker functionality (without inputs or modals).

Key Features

  • Framework Support: Primarily designed for Svelte (>=v3.38.1).
  • Customizable Styling: Uses CSS custom properties for easy theming.
  • Accessibility-First: Prioritizes keyboard navigation and inclusive design.
  • Localization: Supports locale configurations via the underlying date library.

Target Audience

  • Developers using Svelte who need a flexible, accessible date picker.
  • Projects already using date-fns, dayjs, luxon, or moment.

Accessibility Highlights

  • Keyboard navigation for day/year selection.
  • Focus on WCAG compliance (contributions welcome).

Demo

View Demo

Note

  • Alpha stage: APIs may change.
  • No IE11 support.

For advanced usage (localization, styling), refer to the documentation of your chosen date library.

sveltedatepickerinclusive-design

Comments