Hello! I'm azuki, a UI designer who usually works on smartphone apps.
I recently joined a project where I'm in charge of designing a web service. As a design resource for environments where a cursor can be used, I decided to focus on "mouseover" and have compiled some patterns for its utilization.
I hope this will be helpful for designers who primarily work on smartphone apps and aren't very familiar with designs that assume the use of a mouse or cursor, or for those who want to know about examples of mouseover utilization patterns.
Introduction: The difference between mouseover and hover
First, I looked up "mouseover" and CSS ":hover" again.
About mouseover
About hover
It can be summarized as follows:
Mouseover is "placing the mouse (cursor) over an element"
Hover is one of the states of interactive elements such as buttons (others include Enabled, Disabled, Focused, etc.). It is triggered by a mouseover.
Since mouseover requires the use of a mouse, alternative methods must be considered for smartphone sites. On the other hand, it is still considered an effective tool in environments that focus on PC usage.
It seems that instead of just changing styles with CSS ":hover", it can be used for organizing information or incorporated as a way to present content that enhances the convenience of a service.
This time, I observed various web services and classified the behaviors during mouseover as follows:
Now, let's take a look at them one by one!
1. Indicating that a button is clickable
This is the most common usage, and likely the first pattern that comes to mind for everyone. When you hover the cursor over a button, the style changes to suggest that the button can be clicked. There are various ways to apply styles, such as changing the button color, underlining text buttons, enlarging images, or changing opacity.
2. Providing supplementary explanations for menus
I have often seen this, especially with icon-only buttons. When you hover the cursor over an icon, the menu name or a functional description is displayed. I feel this is particularly effective when there are many functions, but it is difficult to list the function names as text due to space constraints.
3. Expanding menus
When you hover the cursor over a parent category menu name, the sub-category menu expands to show more options. I feel this is particularly effective for e-commerce sites with many menu categories.
(4) Showing partial functionality
When you hover over an arbitrary element, a portion of that element's information is displayed. I found this useful when comparing and considering many elements displayed on a single screen, as it allows you to check additional information without having to click.
(5) Indicating current status and the next action
This is an example I saw on X (Twitter). When you hover over the 'Following' button for an account you are following, the label changes to 'Unfollow'.
When the cursor is away, it shows the 'current status,' and by hovering over it, it indicates the action that will take place.
(6) Adding items to the location where the cursor is placed
On a screen where items are displayed in a list format, this indicates adding a new item to the location where the cursor is currently placed.
Conclusion
In this article, I have summarized various patterns for mouseover behavior.
Until now, the only method I could think of was changing colors using CSS ":hover", but I realized that various patterns are incorporated into the services we use every day.
Although I wasn't consciously aware of them, these are movements I have been seeing almost every day. Now that I am in a position to create things myself, I intend to use these ideas as a reference for my designs.
I hope this was helpful to you. Thank you for reading until the end!