Skip to content

Button ​

A button. After a builder callback, the panel redraws. Thus the panel immediately shows changes to plain objects.

  • accent: the accent color
  • ghost: transparent until hover. Buttons in a toolbar are ghost buttons by default.
  • active: shows the button as pressed, e.g. a toggle or the selected tool
  • icon: an icon before the content. Use square for a button with only an icon.