Currently the menu does allow you to add a badge to an icon, but it breaks the formatting of the collapsed and expanded view of the menu. It would be nice to be able to show badges in the side menu of an application. An example of the problem :
https://stackblitz.com/edit/badge-in-menu-demo
collapsed view

expanded view

Being able to wrap the anticon object in the <nz-badge [nzCount]="5"> tag like so:
<li nz-submenu [(nzOpen)]="openMap.sub1" (nzOpenChange)="openHandler('sub1')">
<span title>
<nz-badge [nzCount]="5">
<i class="anticon anticon-upload"></i>
</nz-badge>
<span>My Data</span>
</span>
</li>
<li nz-submenu *ngIf="isAnyItem$ | async">
<span title>
<i nz-icon nzType="plus" nzTheme="outline"></i>
<span>New</span>
<nz-badge [nzCount]="totalEditedItems$ | async" [nzStyle]="{transform: 'translate(15%, -25%)'}"
></nz-badge>
</span>
</li>


Most helpful comment