Badge ​

A macOS sidebar count badge (NSTableCellView badge): a translucent neutral capsule with secondary text. One size only — AppKit badges carry no ControlSize. The kits ship no badge masters, so the metrics are modeled on the live macOS sidebar.

Inbox128

Usage ​

vue
<script setup lang="ts">
import { MacBadge } from '@macvue/core'
</script>

<template>
  <MacBadge>12</MacBadge>
</template>

API ​

Slots ​

SlotDescription
defaultBadge content, typically a count.