Getting Started with Scheduler
Use a civil date to open a schedule at a predictable day in the browser and during server rendering. Import the standalone Scheduler in the component that owns the events.
import { Component } from '@angular/core';
import { NgbSchedulerComponent } from '@angular-bootstrap/ngbootstrap';
@Component({
imports: [NgbSchedulerComponent],
template: '<ngb-scheduler date="2026-12-03" view="agenda" [events]="events" />'
})
export class BookingCalendar {
events = [{id:'review', title:'Funding approval', start:'2026-12-03T09:00:00Z', end:'2026-12-03T10:30:00Z'}];
}
2026-12-03 – 2026-12-09
Thu, Dec 3
Fri, Dec 4
Sat, Dec 5
- No events
Sun, Dec 6
- No events
Mon, Dec 7
- No events
Tue, Dec 8
- No events
Wed, Dec 9
- No events
See Data Binding to load appointments when the user changes dates.