So, in the sidenav-list.component.html file, we need to add the following code below the last anchor tag: unfold_more Example For this to work, we need to register MatMenuModule: import { …, MatMenuModule } from '@angular/material'; imports: [ MatMenuModule, exports: [ MatMenuModule,