Flutter Design Systems Galleries

Tag

A tag puts a short category or status next to an item. Give the status a word readers can understand even if they cannot distinguish its colour.

About this look Stint app Appliance gallery

Label a draft

The item starts as Draft. Publish it to change its tag, then return it to Draft.

Flutter preview Open preview
label
Its words.
tone
What it says about its subject.
style
Its style, over ApplianceThemeData.tagStyle.

Shared behaviour

  • Keyboard and focus. Tab to Publish or Return to draft. The status tag itself is a label.
  • Screen readers. Read Draft or Published before and after using the action. Both states have distinct words.
  • Direction and type. The tag follows the surrounding reading direction. Try the longer Published label at the larger text size.
Read the ui_core contract