Timescape

screenshot of Timescape

A flexible, headless date and time input library for JavaScript. Provides tools for building fully customizable date and time input fields, with support for libraries like React, Preact, Vue, Svelte and Solid.

Overview

timescape is a powerful headless library designed to enhance date and time input components. It offers full customization over the design and presentation while supporting various libraries like React, Vue, Preact, Svelte, Solid, and native JavaScript.

Features

  • Headless Architecture: Allows you to control the UI while timescape handles the logic.
  • Framework Compatibility: Adapters available for React, Preact, Vue, Svelte, and Solid.
  • Flexible API: Hooks provide getters for seamless component integration with the freedom to render inputs in preferred order.
  • Accessibility: Fully compliant with A11y standards, supports keyboard navigation, and manual input.
  • Date and Time Flexibility: Supports min/max dates and 24/12-hour clock formats.
  • Lightweight: No external dependencies required.
  • Enhanced Input Fields: Offers additional flexibility compared to native <input type="date/time"> fields.
  • Touch Device Support: Compatible with all devices, including touch-enabled ones.
typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.