Skip to main content

Button

This node renders a clickable button.

The Button node is a fundamental UI control for triggering actions.

The Button node creates a standard button element. It can contain text (Label) and an icon. It emits a Click signal when pressed, which is the primary way to start logic flows in your application.

Inputs​

General​

DataDescription
LabelThe text to display on the button.
DisabledBoolean. If true, the button cannot be clicked and usually appears grayed out.

Style​

DataDescription
Background ColorThe background color of the button.
Text ColorThe color of the label text.
Border RadiusCorner roundness.

Icon​

DataDescription
IconName of the Material Icon to display (e.g., "home", "settings").
Icon Position"Left" or "Right" of the text.

Outputs​

Events​

SignalDescription
ClickTriggered when the user clicks or taps the button.
Double ClickTriggered on double click.
Long PressTriggered when held down.

Usage​

Basic Action​

  1. Add a Button.
  2. Set Label to "Submit".
  3. Connect Click to a REST node's Fetch input.
  1. Add a Button.
  2. Set Label to "Go Home".
  3. Connect Click to a Navigate node.

Detailed Behavior​

  • Visual States: Supports Hover, Pressed, and Disabled visual states via the property panel.
  • Layout: Acts as a flex container for its label and icon.

Troubleshooting​

  • Not Clicking: Check if Disabled is true. Also check if something transparent is covering the button (z-index issue).