<button
  type="button"
  bitButton
  buttonType="primary"
  [bitMenuTriggerFor]="newMenu"
  startIcon="bwi-plus"
>
  {{ (btnTextAddCreateFeatureFlag() ? "add" : "new") | i18n }}
</button>

<bit-menu #newMenu>
  <button type="button" bitMenuItem (click)="openProjectDialog()">
    <i class="bwi bwi-fw bwi-collection" aria-hidden="true"></i>
    {{ "project" | i18n }}
  </button>
  <button type="button" bitMenuItem (click)="openSecretDialog()">
    <i class="bwi bwi-fw bwi-key" aria-hidden="true"></i>
    {{ "secret" | i18n }}
  </button>
  <button type="button" bitMenuItem (click)="openServiceAccountDialog()">
    <i class="bwi bwi-fw bwi-wrench" aria-hidden="true"></i>
    {{ "machineAccount" | i18n }}
  </button>
</bit-menu>
