svelte-datepicker
- A lightweight and inclusive date picker built with Svelte (currently in alpha version).
- Supports multiple date management libraries:
date-fns
,dayjs
,luxon
, andmoment
viadate-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
, ormoment
.
Accessibility Highlights
- Keyboard navigation for day/year selection.
- Focus on WCAG compliance (contributions welcome).
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
Featured Stories
No featured articles here. Navigate to an article, then pick the Feature on menu button