Best way to display a key-value list with material design?

For a “Material design” project, I need to display a key-value list with multiple items, something like that (example with an animal and 4 criteria):

  • Name: Cat
  • Category: Mammal
  • Color: Black
  • Size: Small

I would like to see a clear distinction between the key and the value.

But I can’t find anything in the specification that offers an idea for the key-value lists: https://material.io/guidelines/components/lists.html

There are only lists that only display a sequence of values, or lists with a first black text followed by a second gray text (which specifies the previous text).

Do you have a good idea to post a clear and beautiful key-value list with Material Design please?

Thanks!

3 Answers
3

If you wanted a strict key value list, the data table guidelines are the most fitting. To bring out one column over the other, feel free to bold it or make it a disctintly lighter gray (not light gray, though—it still needs to be readable).

However, for most situations, carefully considering how to present each element works best.

Some ideas:

Contact page

  1. See how the name and address “John Doe”, “Seattle, WA”, don’t require a label. Instead, the meaning and significance is obvious from the content, the layout, and the typography. Consider whether some of your key-value pairs could be translated into just values with the right typography and layout.

  2. See how the phone area, the email area, and the location area all use icons as a label. If your keys are easy to translate into icons, this might be a solution.

  3. Notice how the phone number and the email have a label below in a lighter gray. Consider a two-row layout like this, where the other row displays the category in a smaller, lighter text.

You may Also Like:

None found

Leave a Comment