Hover State
UI DesignWhat is a Hover State
A hover state is the visual change that appears when a mouse pointer moves over an element, such as a button or link. It tells users that the element is interactive before they click.
How a Hover State works
Typical hover changes are small:
- Background: A slightly darker or lighter fill
- Underline: Added to text links
- Cursor: Changes from an arrow to a hand
- Elevation: A card may rise with a larger shadow
On the web, hover styles use the CSS :hover pseudo-class.
When to use a Hover State
Add hover states to every clickable element on desktop interfaces. Keep the change subtle and consistent across the design system, so it does not look like a selected or disabled state.
Hover State limitations
Touchscreens have no hover, and keyboard users never trigger it. Never put important content or actions only behind hover. Pair every hover state with a visible focus state for keyboard users.
Frequently asked questions
What is the difference between a hover state and a focus state?
The hover state appears when a mouse pointer is over an element. The focus state shows which element has keyboard focus, for example after pressing Tab. Both are needed, because keyboard users never see hover.
Do hover states work on mobile?
Not reliably. Touchscreens have no pointer resting over the screen, so hover may never appear or may stay stuck after a tap. Never hide important information or actions behind hover.
What should change in a hover state?
Usually a small change, such as a slightly darker background, an underline on a link or the cursor changing to a hand. The change should signal that the element is clickable without looking like a different state.
Related terms
View all UI Design terms →Interactive States
Interactive states are the visual changes that show how a component responds to the user. They tell users whether an element can be used…
Focus State
A focus state is the visual indicator that shows which element has keyboard focus . When users press Tab to move through a page, the focus…
Tooltip
A Tooltip is a contextual interface element that appears when users hover over, focus on, or click an item. It provides additional…
Call-To-Action
A Call-To-Action (CTA) is a design element that prompts users to take a specific action. It typically appears as a button, link, or…
Micro-interactions
Micro-interactions are contained product moments that perform a single, specific task. They are the small, subtle animations and responses…
Touch Target Size
Touch target size is the size of the area users can tap to activate an element, such as a button, link or icon. The target can be larger…
