Skip to content

Introduction

weekwise is a day, week and month calendar with drag-and-drop event management, for React or plain DOM.

  • Three views: day and week on a timeline, month as a grid; a toolbar to navigate and switch views, and a date picker popover.
  • Direct manipulation: drag events to another day or time, resize them by their edges (into other days too), draw new events on the timeline, stretch multi-day events in the month view.
  • Your data stays yours: the calendar never changes the events; it reports what the user did.
  • Any date library, any date type: the UI talks to dates only through an adapter.
  • Time zones: with the Temporal or Luxon adapter the calendar shows any IANA time zone.
  • Localized by one setting: the adapter’s locale sets formats, names, the first day of the week and the interface language.
  • Themeable with CSS variables; styles live in a cascade layer, so your CSS always wins.
Package
@weekwise/react React calendar component.
@weekwise/dom The same calendar without a framework, rendered with plain DOM.
@weekwise/adapter-date-fns DateAdapter backed by date-fns.
@weekwise/adapter-dayjs DateAdapter backed by Day.js.
@weekwise/adapter-luxon DateAdapter backed by Luxon, with a time zone option.
@weekwise/adapter-temporal DateAdapter of Temporal.ZonedDateTime, in any time zone. No dependencies.
@weekwise/core The DateAdapter contract, types and event layout. You rarely install it yourself.
@weekwise/dnd Store over native HTML drag and drop or pointer events. Independent of the calendar.

You need one UI package and one adapter:

These docs are also published as plain text for language models, following llms.txt:

Give one of them to your coding assistant so it writes code against the current API.