MetalUI / Soft Hardware

React · SwiftUI · agent guides

Button

A press-in pill button with compact caps, async waiting/result faces and opt-in irreversible hold confirmation.

Use it for

  • An action that happens right away when the user activates it: Save, New Canvas, Cancel, Delete, Export.
  • A dialog footer, form submit, or row action that needs a visible, labelled control.

Don't use it for

  • Navigation to another page. Use a link.
  • On/off or latched tool state. Use Toggle / ToolButton, which carry the pressed state and LED.
  • Icon-only toolbar controls. Use ToolButton inside Toolbar.

Read the Button agent guide · Copy registry source

Explore the documentation · Agent index · Source on GitHub