The best designs of single-page sites Landing Page
From the author: I welcome web designers of all ages and blood types. According to statistics and the opinion of top marketers in the world, the Landing Page is 2-3…

Continue reading →

The history of web design: from the Stone Age to the era of modern technology
From the author: the development of web design, like the Internet, in our country fell on the 90s of the last century. Prior to that, the computer age reigned, it…

Continue reading →

The Importance of Visual Context in Web Design
From the author: According to the results of a popular study by the University of Missouri Science and Technology, visitors form an opinion about your business site in less than…

Continue reading →

Button State Design

t author: button design is a key element of any design system. The best of the buttons are simple, versatile, perhaps even a little fun. But there are many hidden complexities in these fun controls and switching … complexities that are easy to overlook when we focus on the same old default and hover states.

Button State Design

In truth, mouse effects are probably the least important for design. By taking into account the more functional states at an early stage, you can reduce the risk of possible costly redesigns as your template library evolves. Here are the basic conditions that you should pay attention to at an early stage, approximately in order of importance.

1. Default
Not surprisingly, the standard display of a button is really important. If you make it too catchy or too inconspicuous, you will see that without additional modifier classes or alternative styles, you cannot move on.

Button State Design
Web design. Fast start

Learn the course and learn how to create a website design and prototype in Figma

Learn more
It is also important to create buttons based on context. One of the common mistakes is to choose a button style that does not differ enough from the input fields, which can lead to the form becoming incomprehensible.

Button State Design

It is also important to choose colors with adequate contrast for most users. I use the Contrast app to test my projects for WCAG 2.0 compliance:

Button State Design

2. Focus
The most important condition you should consider is: focus. Without it, navigation through the keyboard or other devices with direct input is almost impossible. The good news is that browsers already include a default solution for it, usually a dashed outline or a blue glow:

Button State Design

These outlines can sometimes seem incompatible with the visual styles of the project, so they often turn off … and many users remain in the dark. So, let’s all raise our hand and repeat after me: “I solemnly swear never to turn off browser focus styles without including a reasonably thought-out replacement.”

Excellent! From this point of view, here’s what you need to keep in mind when developing a custom focus style:

In a group of buttons, highlighting the input focus should be easily distinguishable.

It should not rely entirely on color changes that may be difficult to see for some users.

Ideally, it should be flexible enough to work with many button styles without frequent overrides.

Button State Design
Web design. Fast start

Learn the course and learn how to create a website design and prototype in Figma

Learn more
3. Disclosure / Switching / Selection
Although this may seem like a distant prospect in the early days of system development, it is very likely that at some point you will need buttons that act as switches: open and hide menus, switch to favorites / bookmarks, switch tabs, etc. Given this feature early on, avoid potential conflicts with other button states.

The design of the disclosure buttons may vary depending on the project. You might even need more than one. Important considerations are for on states. and off different from each other, and so that both are combined with focus styles.

Button State Design

4. Disabled buttons
Like focus and disclosure states, disabled buttons should be easily identifiable. But unlike previous states, they should not differ much from the default state. The disconnected state should look muffled, less bright.

One of the most popular ways to disable buttons is to reduce their opacity. This works well for buttons with the same default style, but less when the disabled button has more saturated colors than the adjacent active one. The combination of opacity and saturation reduction can play a trick:

Button State Design

5. State guidance and active
Yes, I know that many do not want to postpone the development of these states to the very end. But there are at least two really compelling arguments in favor of this:

These conditions will apply only to some users and input methods. Not everyone uses a mouse, not everyone uses their fingers.

In this way, we can take these states into account when designing them so that they differ from everything else.

10 Photoshop plugins for design-accelerating designs
From the author: Photoshop was not originally intended for web design, but even right out of the box is a pretty powerful tool. But even such a wonderful tool may…

...

Current Web Design Trends: Fullscreen Homepages
From the author: full-screen Splash Screen’s currently the most famous template on the Internet, in fact, the current trend in web design. Some people like him, others hate him, but…

...

Web Layout 101: How to Get the Most Out of the Top Right
Most people browse the site using the so-called “F” template. First, we look at the top of the letter F, then go down and look horizontally in the second part,…

...

Multimedia in web design: modern technologies for presenting information
From the author: Hello everyone! Friends, if you read my articles on web design, you can hardly be called dummies. Most of the terms are familiar to us and do…

...