Skip to content

Button Element

The Button element creates an interactive clickable button that can trigger actions and events when pressed.


Overview

Buttons are used for:

  • Form submission
  • Navigation between pages
  • Triggering calculations
  • Opening URLs
  • Any user-initiated action

Adding a Button

  1. Open the Website Builder
  2. Find Button in the Elements panel
  3. Drag it onto your page
  4. Configure properties and events in the Floating Design Panel

Properties

General Tab

PropertyDescription
Question TextButton label text
Action NameAssociated action identifier

Color Tab

PropertyDescriptionDefault
Background ColorButton backgroundBlue (#2B98E0)
Text ColorButton textWhite (#ffffff)
Border ColorButton border(matches background)

Dimensions Tab

PropertyDescriptionDefault
Font SizeText size16px
Font FamilyText fontNunito-SemiBold
Font WeightText weight600 (semi-bold)
PaddingInner spacing12px top/bottom, 15px left/right
Border RadiusCorner rounding5px

Events

Buttons are most powerful when connected to events. Configure actions in the Events Tab:

Event TypeDescription
Card LinkNavigate to another page
Open URLOpen external link
CalculatePerform calculations
Change StyleModify element appearance
Clone TileDuplicate a tile
Delete ButtonRemove an element

Styling

The default button style is:

  • Blue background (#2B98E0)
  • White text
  • Rounded corners
  • Semi-bold font

Customize to match your brand:

  • Primary actions - Use your brand's primary color
  • Secondary actions - Use lighter or outline styles
  • Danger actions - Use red for destructive actions
  • Success actions - Use green for confirmations

Use Cases

Submit Button

Label: "Submit"
Color: Blue (primary)
Event: Card Link → Confirmation page

Cancel Button

Label: "Cancel"
Color: Gray (secondary)
Event: Card Link → Previous page

Delete Button

Label: "Delete"
Color: Red (danger)
Event: Delete Button with confirmation

Learn More

Label: "Learn More"
Color: Blue (outline)
Event: Open URL → Documentation

Add Item

Label: "+ Add Item"
Color: Green (success)
Event: Clone Tile

Multiple Events

A single button can trigger multiple events in sequence:

  1. Calculate a total
  2. Change the result style
  3. Navigate to the results page

Configure multiple events in the Events Tab.


Best Practices

  1. Use clear labels - "Submit Order" is better than "Submit"

  2. Choose appropriate colors - Match action importance

  3. Keep buttons visible - Use contrasting colors

  4. Size for touch - Ensure buttons are large enough to tap

  5. Provide feedback - Combine with Change Style for visual confirmation

  6. Position consistently - Place primary actions in predictable locations


Questions?

If you have any questions, please don't hesitate to contact us. Alternatively, you can submit an issue on this platform.

Useful Links:

Web Elements - https://help.acenji.com/#/./create-web-application/elements/index Events Tab - https://help.acenji.com/#/./create-web-application/website-builder/floating-design-panel/element-section/events-tab/index Card Link - https://help.acenji.com/#/./create-web-application/website-builder/floating-design-panel/element-section/events-tab/card-link/index

Was this article helpful?

No-Code App Builder