@if (tabs.length > 0) {
  <nav class="product-tabs" [attr.aria-label]="'productDetails.tabsAria' | translate">
    @for (tab of tabs; track tab.key) {
      <button
        type="button"
        class="tab-btn"
        [class.active]="activeKey === tab.key"
        [disabled]="tab.enabled === false"
        (click)="selectTab(tab)">
        <span>{{ tab.label }}</span>
        @if (tab.count != null) {
          <small>{{ tab.count }}</small>
        }
      </button>
    }
  </nav>
}
