Skip to content

unknown-kind

A region whose kind is not one of the fixed vocabulary:

  • containers: column, row, section, bar
  • navigation: tabs, nav, menu
  • content: header, text, list, card, media, map, banner, form, field
  • actions: action, primary-action

The kind decides how the wireframe draws the region and which fields it may have (only containers have children, only lists have item, and only navigation has items). A kind outside the vocabulary cannot be drawn. The vocabulary is small on purpose: a wireframe says what is on a screen, not how it is styled. This is a correctness rule: it is always an error.

Pick the kind from the list that says what the region is for. A button is an action, or a primary-action when it is the screen’s main one; a text input is a field; an image or video is media.

A button is written as button:

screens:
trip.timeline:
title: Timeline
area: trip
presentation: tab
layout:
- {region: share, kind: button, label: Share}

It is an action:

screens:
trip.timeline:
title: Timeline
area: trip
presentation: tab
layout:
- {region: share, kind: action, label: Share}