Overview

The KEmptyPlaceholder component is used in situations where the value is not applicable ("N/A") or does not exist. It is a wide, light-gray dash, like this:

Using the placeholder component is preferred to leaving a empty or blank space because it communicates to the user that a value could possibly exist there, and aids with visual scanning in tables, grids, and lists of data.

Example

In the example below, an average score cannot be calculated until the user has attempted at least one exercise:

Username Number of exercises Average score
user_1 11 85%
user_2 0
user_3 5 100%