Help Button

A macOS help button (NSButton .helpButton): a circular neutral button with a question mark that opens contextual help. The circle diameter follows the button height scale; the glyph is exposed only through the label (default Help).

Usage

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

<template>
  <MacHelpButton @click="openHelp" />
</template>

Sizes

All five macOS control sizes; regular is the default.

Disabled

API

Props

PropTypeDefault
size'extra-large' | 'large' | 'regular' | 'small' | 'mini''regular'
disabledbooleanfalse
labelstring'Help'

Exposed

NameTypeDescription
elRef<HTMLButtonElement | null>The underlying button element.
focus() => voidFocuses the button.
blur() => voidRemoves focus from the button.