Skip to content

Button

Buttons are core components used to trigger actions in a Lowgile screen.

They are typically used to submit data, approve or reject tasks, or perform other user-driven actions.

  • Path: Components → CORE → Button

Use buttons when you need to:

  • Trigger a process action (e.g. Submit, Approve, Reject)
  • Add or remove items from a screen
  • Navigate or execute logic
  • Confirm user input

In the Lowgile screen editor:

  1. Open the Components toolbar.
  2. Go to the CORE section of the Components toolbar section.
  3. Drag the Button component onto the screen.
  4. Position it where the action should be available.
  5. Configure the button properties (label, icon, and event).

Insight

Buttons are usually placed at the end of a form or section where a user completes an action.

When configuring a button, you will work across four tabs:

TabPurpose
PropertiesDefines the button label, icons, and basic behavior.
AppearanceControls visual styling such as color and icon placement.
StylesApplies additional styling options such as spacing or layout behavior.
EventsDefines what happens when the button is clicked (event handlers).

On the Appearance tab, you can choose from four predefined button color styles:

ColorPurpose
BasicNeutral button for low-emphasis actions.
PrimaryHigh-emphasis action (for example: Approve or Submit).
AccentSecondary emphasis for supporting actions.
WarnDestructive or negative actions (for example: Reject or Delete).
  • Use Primary for the main action on the screen
  • Use Warn for destructive or negative actions
  • Use Accent for secondary actions that still need visibility
  • Use Basic for low-priority or neutral actions

Tip

Use Primary and Warn sparingly to maintain clear visual hierarchy between actions.

A button requires an event handler to define what happens when the user clicks it.

Typical uses include:

  • Submitting a form
  • Triggering a process action
  • Calling a handler or function

Without an event handler, a button will not perform any action.

Use clear, action-oriented labels:

  • Submit
  • Approve
  • Reject
  • Add item

Avoid vague labels like OK or Do it.

Key Lesson

Buttons represent user intent. Use clear labels and consistent colors to guide user actions.