Metadata list

The metadata list pattern can be used to provide additional information about a particular item of content such as a search result, news article, event or publication. A metadata list consists of a number of label and value pairs.

Rules for metadata list

Options available


Icons - inline

Metadata items default layout is in a single line. This example uses icons to represent each type of metadata.

Example
Code

        


Icons - full width

Metadata items can be changed to each occupy a single line by adding the metadata-list--full class. This example uses icons to represent each type of metadata.

Example
Code

        


Text labels

Using text labels may be more appropriate if icons are unable to clearly represent each type of metadata. Add the class metadata-list--no-icon to remove the additional layout styling used for icons.

This example places each metadata item on its own line. This example also uses the inherit--colour class so the inherited text colour is used.

Example
Code

        


Hidden labels

Labels can be hidden entirely using the sr-only class. These are still made available for screen reader users so the label text should still be provided. This example places the metadata inline.

Example
Code