# Component State

> How a part looks right now: resting, hover, pressed, focused or off.

**Field:** Design  
**Category:** User Interface  
**Also known as:** Hover State, Pressed State, Disabled State, Focus State

## Think of it like

It is like a light switch. It looks different when it is on, off or broken.

## Definition

A component state is how a part looks at a given moment of use. A button has a resting state, a hover state when the pointer is over it, a pressed state, a focus state when reached by keyboard, and a disabled state. The app picks the state, not the designer. Each state must be designed, or people cannot tell what is going on.

## Example

A Save button shows no change when pressed. People tap it three times, so the team adds a pressed look.

## Why it matters

States are the feedback that tells people a part heard them, or that it cannot be used yet.

## Common mistake

Forgetting the focus state. People who use a keyboard then cannot see where they are.

## Three principles

- **The app picks it.** Based on what is happening.
- **Design every one.** Rest, hover, press, focus, off.
- **Never skip focus.** Keyboard users need it.

## Related terms

- [Design Component](https://learn.benibix.com/term/design/design-component)
- [Component Variant](https://learn.benibix.com/term/design/component-variant)
- [Feedback (UX)](https://learn.benibix.com/term/design/interaction-feedback)
- [Button](https://learn.benibix.com/term/design/button)

## Taught in

- [UI Components Basics](https://learn.benibix.com/learn/design-user-interface/ui-components-basics): UI Components, 1/14

---

Source: https://learn.benibix.com/term/design/component-state
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
