@dayflow/plugin-sidebar
v1.7.0
Published
Sidebar plugin for DayFlow calendar
Maintainers
Readme
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.
Features
Daily, Weekly, Monthly and Yearly View Types
Day View

Week View

Month View

Year View(Fixed-Week)

Year View(Year-Canvas)

Mobile View Support
Mobile Day & Year View

Mobile Week & Month View

Multiple Event Detail Panel options
Detail Popup

Detail Dialog

Dark Mode Support

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
Sidebar Group Management
@dayflow/plugin-sidebar lets users create groups from the sidebar context menu and rename, delete, or create calendars inside a group from the group context menu. Group headers can be dragged to change their order.
Use groups to restore persisted group names and order, including empty groups. Group callbacks may return a Promise; DayFlow waits for it before applying the change.
import { createSidebarPlugin } from '@dayflow/plugin-sidebar';
const sidebarPlugin = createSidebarPlugin({
groups: savedGroups,
onGroupCreate: async groupName => saveGroup(groupName),
onGroupRename: async (previousName, nextName, calendars) =>
renameGroup(previousName, nextName, calendars),
onGroupDelete: async (groupName, calendars) =>
deleteGroup(groupName, calendars),
onGroupReorder: async groups => saveGroupOrder(groups),
});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.
