Button
COMPONENT

CONTROLS / BUTTON

Button

Native interactive desktop button with 6 macOS visual variants supporting text-only, icon-only, and icon-plus-label layouts right on your desktop.

Signature#

SIGNATURE
<Button
  title="Start"
  icon="play.fill"
  variant="filled"
  color="theme.accent"
  onClick={handleStart}
/>
variant="filled"
Interactive

Props#

Inherits StyleProps:

titlestringOptional
Button label text (standalone or paired with icon).
iconstringOptional
SF Symbol name (e.g. "plus", "play.fill", "arrow.clockwise").
variantstringDefault "tinted"
Six native styles: "plain", "tinted", "filled", "pill", "circle", or translucent "glass".
colorstringDefault "theme.accent"
Accent tint color.
fontSizenumberOptional
Label font size in points.
iconSizenumberOptional
Symbol size in points.
disabledbooleanDefault false
Disables click handling and dims the button.
onClickfunctionOptional
Click handler () => void.

Example: All 6 Native Button Variants#

TSX
<HStack spacing={8}>
  <Button title="Plain" variant="plain" />
  <Button title="Tinted" variant="tinted" />
  <Button title="Filled" variant="filled" />
  <Button title="Pill" variant="pill" />
  <Button icon="plus" variant="circle" />
  <Button title="Glass" variant="glass" />
</HStack>
All 6 Native Variants
Interactive
Click any button to test feedback