One-click install via unlocked package. Includes LWC components, Apex controller, and the bundled static resource. No code required.
Production-ready LWC component that connects to Salesforce Events through Apex. Supports month, week, and day views with create, update, and delete.
Standalone demo component with sample events. No Apex required. Use this to verify the install worked before wiring up real data.
Apex controller for querying and managing Salesforce Event records. Includes test class with coverage.
Bundled @forcecalendar/core and @forcecalendar/interface as a single IIFE file. Zero external dependencies.
Always test in a sandbox before deploying to production. This is an unlocked package — you can inspect and modify every component after install.
Click the button below to open the Salesforce package installer in your sandbox org. Log in with your sandbox credentials. Select “Install for Admins Only” or “Install for All Users” depending on who should access the calendar.
After install, the components are available in Lightning App Builder:
The demo component loads sample events automatically — you should see a working calendar with month, week, and day views immediately.
Before deploying to production, verify in your sandbox:
Once you’ve verified everything works in your sandbox, install the same package in production.
If you prefer CLI deployment or want to customize the source code.
git clone https://github.com/forceCalendar/salesforce.git
cd salesforce
npm install
npm run build
cd dist
sf project deploy start --target-org your-sandbox-aliasThe build script bundles @forcecalendar/core and @forcecalendar/interface from npm into a single static resource. You can modify the LWC components, Apex controller, or build configuration before deploying.
force-app/
main/default/
classes/
ForceCalendarController.cls # Apex: CRUD for Event records
ForceCalendarControllerTest.cls # Test class with coverage
lwc/
forceCalendar/ # Production LWC (Apex-connected)
forceCalendarDemo/ # Standalone demo (no Apex)
staticresources/
forcecalendar.js # Bundled core + interface (IIFE)
Month view with color-coded events

Week view

Day view