Labels are read-only indicators used to communicate a category, metadata, or process's current state.

Structure

The Label component uses the HTML <span> element and has no inherent interactivity or semantic role.

Color and meaning

In many contexts, color may be used to help communicate a certain meaning to the user. However, color should never be the sole indicator of the intended meaning. Not all sighted users experience color the same way.

When using the label, we highly recommend considering strong and effective label text. Text and color should work together to communicate the intended meaning.

On this page