Skip to main content

Interactive States

UI Design

What are 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, where the keyboard focus is, and that their click was received.

Common Interactive States

  • Enabled: The default, ready-to-use look
  • Hover: A pointer is over the element
  • Focus: The element has keyboard focus
  • Pressed: The element is being clicked or tapped
  • Disabled: The element cannot be used right now
  • Selected and loading: For toggles and longer actions

How to design Interactive States

Design every state for every component, not just the default. Use small, consistent changes across the system, such as a darker fill on hover and a visible ring on focus. Make sure states stay clear when they combine, such as selected and hovered.

Why Interactive States matter

Without states, users click and wonder if anything happened. States also support accessibility: WCAG asks for 3:1 contrast on the cues that show a state.

Frequently asked questions

Which interactive states does a button need?

NN/g lists five core states: enabled, disabled, hover, focus and pressed. Many buttons also need a loading state and, for toggles, a selected state.

Can a component be in two states at once?

Yes. A selected item can also be hovered or focused. Design systems such as eBay's make sure each state stays clear when they combine.

How much contrast do states need?

WCAG 1.4.11 asks for at least 3:1 contrast for the visual cues that identify a component and its state, such as a focus ring or a checked box. Color changes between states alone do not need to meet 3:1.