-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buttons #16
Comments
Here are the facets considered to start building our buttons:
|
Gov uk makes a clever distinction for start buttons. Their role is to initiate a process, not to submit information; it makes sense that they would be presented differently from primary buttons. |
Disabled buttons are out, inactive buttons are in: disabled buttons are unclickable and leave no clue as to why they ended up in this state. Inactive buttons on the other end are clickable, but won't do anything but display a short message explaining why the action can't be performed. See Github's explanation. |
Wikimedia proposes a toggle button, but it seems out of place in buttons. It's a different component in itself and will be specified as such. |
Adding an icon to a button should happen for actions where the icon is very familiar with users (see Apple's HIG). For OSRD, it will probably concern actions which are not so common for the general public but are well identify for railway industry members. |
Design and document buttons.
Ressources
Github
IBM
UK gov
US gov
Stripe
Apple
The text was updated successfully, but these errors were encountered: