dayflow-js/calendar
 Watch    2
 Star    820
 Fork    62

DayFlow

English | 中文 | 日本語 | Getting Started & Contributing

A flexible and feature-rich calendar component library for React, Vue, Angular, and Svelte with drag-and-drop support, multiple views, and plugin architecture.

npm PRs Welcome License Discord

Documentation · Live Demo · Website · Changelog · Blog

Quick Start

Install the adapter for your framework, plus the calendar core and drag plugin:

npm install @dayflow/react @dayflow/core @dayflow/plugin-drag
'use client';

import { DayFlowCalendar, useCalendarApp } from '@dayflow/react';
import {
  createDayView,
  createWeekView,
  createMonthView,
  createEvent,
  createEventsPlugin,
} from '@dayflow/core';
import { createDragPlugin } from '@dayflow/plugin-drag';
import '@dayflow/core/dist/styles.css';

export default function TeamCalendar() {
  const calendar = useCalendarApp({
    views: [createDayView(), createWeekView(), createMonthView()],
    plugins: [createDragPlugin(), createEventsPlugin()],
    events: [
      createEvent({
        id: 'team-meeting',
        title: 'Team meeting',
        start: new Date(new Date().setHours(10, 0, 0, 0)),
        end: new Date(new Date().setHours(11, 0, 0, 0)),
      }),
    ],
  });

  return <DayFlowCalendar calendar={calendar} />;
}

Full walkthrough: Getting Started.

Framework Package Guide
React @dayflow/react Getting Started
Vue @dayflow/vue Getting Started
Angular @dayflow/angular Getting Started
Svelte @dayflow/svelte Getting Started

Documentation

Topic
Core concepts Calendar component · Events · Views · useCalendarApp
Features Calendar header · Content slots · Dark mode · Event dialog · Tasks · Read-only mode
Guides Theme customization · Global CSS · Time zones
Plugins Overview · Drag & drop · Localization · Keyboard shortcuts · Sidebar · Board
CalDAV sync Overview · Google · Outlook

Beyond the open-source calendar

DayFlow Pro Resource timelines, resource grids, appointment booking, and print-ready output layered on this core.
DayFlow Scheduler Standalone resource-first scheduler for team planning, grouped rows, and long-running timelines.

Features

Daily, Weekly, Monthly and Yearly View Types

Day View

Day View

Week View

Week View

Month View

Month View

Year View(Fixed-Week)

Year View

Year View(Year-Canvas)

Year Canvas View

Mobile View Support

Mobile Day & Year View

Mobile Day and Year View

Mobile Week & Month View

Mobile Week and Month View

Multiple Event Detail Panel options

Detail Popup

Popup

Detail Dialog

Dialog

Dark Mode Support

Dark Mode

Easy to resize and drag

https://github.com/user-attachments/assets/726a5232-35a8-4fe3-8e7b-4de07c455353

https://github.com/user-attachments/assets/957317e5-02d8-4419-a74b-62b7d191e347

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Bug Reports

If you find a bug, please file an issue on GitHub Issues.

Support

For questions and support, please open an issue on GitHub or go to discord.


关于
A lightweight and elegant React/Vue/Angular/Svelte full calendar(big-calendar) component
最后更新于  2 days ago
License