Before: one happy path
The card shows a normal button and field but gives no clue for loading, focus, disabled, or error conditions.
Core idea
Visual example
Before and after
Before: one happy path
The card shows a normal button and field but gives no clue for loading, focus, disabled, or error conditions.
After: state set
The component set names the current selection, shows loading feedback, keeps focus visible, and explains the error.
Worked example
The improved card closes the gap between action and feedback. When a setting is selected, the state is visible. When saving starts, the button says so. When a field fails, the message sits next to the field.
The disabled control no longer just turns grey. It gives the user a reason and a next step, which is more useful than silently blocking the action.
Common mistakes
Visual comparison
One set only shows the happy path. The other includes selected, loading, focus, and error feedback.
Übung abgeschlossen
Next lesson
Use motion to explain change without stealing attention.
Small exercise
Compare two component sets, then spot the area where a missing state cue makes the interface harder to understand.
Lektionsbewusster Studio-Coach
Der Studio-Coach bleibt bei Hinweisen, Erklärungen und Kriterienfragen. Er hilft dir, die Entscheidung selbst zu treffen.
Beispielantwort
Name the state the user is in now. If the interface does not show it, add feedback before changing the visual style.
Referenzregal