Product design: one obvious next step

Lesson 2 of 3

Errors and empty states

7 min

“Invalid input” at the top of a long form makes the person hunt. Put the message on the field that failed, and say the fix: “Use a 5-digit ZIP.” A toast that vanishes, an email later, or an HTTP code is not a fix they can use in the moment.

An empty table is not an error and it is not a place for fake rows. Say that nothing is here yet and offer the action that creates the first item. A spinner that never ends teaches people the product is broken.

Example

Projects opens to “No projects yet” and a button, “Create a project.” The ZIP field, after a bad submit, shows “Enter a 5-digit ZIP” under the field, which is outlined. The rest of the form does not shout.

Practice

What two things does a useful empty state include?