Meta list
Label and value rows separated by hairlines, for the facts about a project, a photo or a record. A stacked version handles long keys and values.
- CSS
css/components/meta-list.css
01 — Example
Project details
A description list: labels on the left, values on the right.
Stacked
.meta--stacked puts each label above its value, for long keys and values such as Kubernetes labels, paths and IDs. Long strings wrap instead of widening the page. On phones every meta list stacks like this.
02 — Usage
Use it for
- Short facts: role, client, year, camera, location.
- The details of a record in a drawer, stacked.
Avoid
- Numbers to highlight. Use a stat.