
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
angular-calendar
Advanced tools
https://mattlewis92.github.io/angular-calendar/
A calendar component for Angular 2.0+ that can display events on a month, week or day view. The successor of angular-bootstrap-calendar.
First install through npm:
npm install --save angular-calendar
Next include the CSS file somewhere into your app:
node_modules/angular-calendar/dist/css/angular-calendar.css
Finally import the calendar module into your apps module:
import { NgModule } from '@angular/core';
import { CalendarModule } from 'angular-calendar';
@NgModule({
imports: [
CalendarModule.forRoot()
]
})
export class MyModule {}
Then you can use the mwl-calendar-month-view, mwl-calendar-week-view and mwl-calendar-day-view components in your app. For a full e2e example see the kitchen sink demo.
You can find quick start examples for all common module bundlers in the build-tool-examples folder.
<script src="node_modules/angular-calendar/dist/umd/angular-calendar.js"></script>
<script>
// everything is exported angularCalendar namespace
</script>
See this comment for how to use with Universal.
To see all available API options, take a look at the auto generated documentation. You may find it helpful to view the examples on the demo page.
Yes.
See the examples list.
No component styles are included with each component to make it easier to override them (otherwise you’d have to use !important on every rule that you customised). Thus you need to import the CSS file separately from node_modules/angular-calendar/dist/css/angular-calendar.css.
When building the calendar some parts were found to be reusable so they were split out into their own modules. Only the bare minimum that is required is included with the calendar, there is no extra code than if there were no dependencies. date-fns especially only imports directly the functions it needs and not the entire library.
Build your own component to replace that view, and use it in place of the one this library provides. It’s impossible to provide a calendar component that meets everyones use cases, hopefully though at least some of the day / week / month view components provided can be customised with the calendars API enough to be of some use to most projects.
As there are so many events to show on each month, it doesn’t provide a lot of value and is just an extra burden to maintain. There is nothing to stop someone from building a new lib like angular-calendar-year-view though ;)
https://github.com/mattlewis92/angular-bootstrap-calendar
npm install while current directory is this repoRun npm start to start a development server on port 8000 with auto reload + tests.
Run npm test to run tests once or npm run test:watch to continually run tests.
npm run release
MIT
FAQs
A calendar component for angular 20.2+ that can display events on a month, week or day view
The npm package angular-calendar receives a total of 87,662 weekly downloads. As such, angular-calendar popularity was classified as popular.
We found that angular-calendar 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
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.