Skip to content
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] - Loading state should be customizable in terms of position #764

Open
aguscruiz opened this issue Jul 31, 2024 · 0 comments
Open
Assignees

Comments

@aguscruiz
Copy link
Collaborator

As a general rule for buttons, we decided the following:

  • Action icons on buttons should generally be on the left side.
  • Status icons should be on the right side.

That means that the loading state, with the spinner, should be able to go on either side, depending on where the icon is going to be.

Example:

  • If the button has a left side icon, when in loading state, the spinner should be on the left.
  • If the button has a right side icon, in loading state should be on the right
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants