
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@blade47/react-scheduler
Advanced tools
A feature-rich, customizable calendar and scheduling component for React applications, forked from @aldabil/react-scheduler with additional features and improvements.
This fork was created to address specific requirements for a project. Not all functionalities have been tested yet.
For documentation, features, and additional usage examples, visit the original npm package page.
This enhanced React Scheduler component provides comprehensive event scheduling capabilities with multiple view options (day, week, month, agenda), drag-and-drop functionality, and extensive customization options. It is designed to handle both simple and complex scheduling needs seamlessly.
@aldabil/react-schedulerdate-fns with dayjs.customDialog option for better dialog state management.minDate and maxDate options for calendar range limitation.enableTodayButton option (automatically activates if "today" is out of the provided date range).enableAgenda option for toggling the agenda view.selectedResource as optional prop for selecting the default resource view.https://github.com/user-attachments/assets/0b6676f6-18a5-4142-8870-3f2cd3f50356
To install the package:
npm install @blade47/react-scheduler
Notice: This component uses mui / emotion / dayjs. If your project is not already using these libraries, this component may not be suitable.
import { Scheduler } from "@blade47/react-scheduler";
<Scheduler
view="month"
events={[
{
event_id: 1,
title: "Event 1",
start: new Date("2021/05/02 09:30"),
end: new Date("2021/05/02 10:30"),
},
{
event_id: 2,
title: "Event 2",
start: new Date("2021/05/04 10:00"),
end: new Date("2021/05/04 11:00"),
},
]}
/>;
All props are optional.
| Prop | Value | Default |
|---|---|---|
| minDate | Date. Minimum date of the calendar. | null |
| maxDate | Date. Maximum date of the calendar. | null |
| enableTodayButton | boolean. Show/Hide today button. | true |
| customDialog | Function(open: boolean, props: DialogProps): JSX.Element. Custom dialog component. | null |
| enableAgenda | boolean. Show/Hide agenda view. | true |
| selectedResource | string. Default resource view. | null |
Here are the original props supported by the library.
Click here to see the full list
The SchedulerRef allows control over the internal state of the Scheduler component from outside its props.
Here's a usage example:
import { Scheduler, SchedulerRef } from "@blade47/react-scheduler";
const SomeComponent = () => {
const calendarRef = useRef<SchedulerRef>(null);
return <Fragment>
<div>
<Button onClick={()=>{
calendarRef.current.scheduler.handleState("day", "view");
}}>
Change View
</Button>
<Button onClick={()=>{
calendarRef.current.scheduler.triggerDialog(true, {
start: new Date("2023-12-01T09:00:00"),
end: new Date("2023-12-01T10:00:00"),
})
}}>
Add Event Tomorrow
</Button>
</div>
<Scheduler ref={calendarRef} events={[]} />
</Fragment>
};
You can utilize handleState for dynamic control:
calendarRef.current.scheduler.handleState(value, key);
FAQs
React scheduler component based on Material-UI & Dayjs
We found that @blade47/react-scheduler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.