My FNZ Studio Version

Screen-Driven Model

Latest Update: 18.07.2022 |
Recipe
2024
2023
2022.2
2022.1
11
10
9
8
7

Problem

Are there any best practices for how buttons should be used in Appway?

Solution

Of all the things you could worry about when designing an app, buttons seem pretty far down the list of priorities. I mean, you add buttons, and people click on them, right? What could possibly go wrong?

Buttons seem simple. Often, they're not. Buttons are how people navigate through your app; when you get them wrong, you're breaking a fundamental aspect of your app. Take a look at these buttons, taken from real-world Appway apps.

Existing Buttons

Do you notice any problems? I can think of a few:

  • Buttons are not aligned properly.
  • Very destructive buttons such as "Reset" should either not exist at all, or, if they are absolutely required, be visually distinct from benign buttons like "Submit".
  • Very different kinds of buttons are all shown right next to each other, without any visual grouping.
  • Button labels are ambiguous (what's the difference between "Cancel" and "Reject"?).

What other kinds of problems can you spot?

Appway offers all the tools you need to create buttons that are easy to understand and unambiguous. This document explains some aspects of button design, and how to implement them in Appway.

Types

Not all buttons are created equal. In Appway, we distinguish between three different types of buttons:

  • Button (default),
  • Submit Submits the form
  • Reset Resets the form fields

This option does not affect the button appearance. See the Types of Button and Button Style Business Object section for more information.

Chunking

Having all buttons appear right next to each other is dangerous. Most people aren't as proficient with their mouse as the typical Appway developer. They sometimes don't quite hit the target they're aiming for, and click on the wrong thing. You don't want people to accidentally click on "Cancel Process" when they're aiming for "Back".

To prevent this issue, you should chunk similar buttons together. To do that, add a Float Layout component to the Screen, and add Float Layout Groups inside the Float Layout to chunk — or group — similar buttons together. In our case, we're putting "Home" and "Cancel Button" into one group each, and "Back" and "Next" into another group.

Groups

This immediately changes how the buttons are displayed.

Chunked Buttons

But we can do even better. Why don't we use the Float Layout's alignment option to completely remove the dangerous button from the other ones? We can align the "Cancel Process" button to the left, and align all of the navigation buttons to the right. That makes the difference between the buttons even more obvious, and makes it almost impossible that people will click on the wrong button.

Button Alignment

Button Text

An important aspect of buttons are their texts. That's how people know what the buttons do, so it's important to get their texts right. A simple rule to keep in mind is:

  • Use a verb-noun combination for actions.
  • Use a noun for navigation.

In other words, when you do something, you use a verb to explain what you do, and a noun to explain what you do it to (the object). When you go somewhere, you use the place's name. That's why the "Cancel Process" button uses "Cancel" as a verb and "Process" as the object, but "Home" just says "Home".

Why do actions require a verb and a noun? A verb alone often doesn't tell the whole story. "Cancel" alone would not tell you what exactly you're canceling. "Delete" doesn't tell you what you're deleting. The context given by the process is often not enough to let the user figure out what she's deleting or canceling. Adding a noun ensures that the meaning is always clear.

Icons

Reading is a lot of work, and most people would rather not do it. That's why it's always a good idea to add icons to buttons. That way, people can identify them without having to read their labels. Appway makes it very easy for you to add icons to a button. Simply check the button's Has Icon property, and select an icon. See the Screen Component: Button article for more information.

Button Icon

There, isn't that much nicer?

Icon Buttons

Note that icons draw attention to buttons, so you should mainly use icons for important or particularly dangerous buttons. Adding icons to every single button may dilute the effect. Read more about icon usability in this document from the Nielsen Norman Group.

Tooltips

There's only very little room in a button to add a good, descriptive, clear label. Often, that's not enough to explain what exactly a button does, and what kind of side effects it has. For example, if I hit the "Home" button, do I lose the data I've entered into the current Screen?

To clarify these details, you should add a tooltip to the button using the Tooltip property.

Tooltip Property

Make sure that the tooltip actually contains useful information. The "Home" button's tooltip shouldn't just read "Click to go home". Most people are probably able to figure out that clicking on the "Home" button will allow them to go to the home screen. Instead, add additional information about the button, and about any side effects it has.

Tooltip

Tooltips are particularly important for disabled buttons. To users, it's often not obvious why a button is not available. Adding a tooltip that explains the button's state goes a long way towards helping the user understand how your app works.

© 2026 Appway AG. All Rights Reserved