ReferenceComponents

tags

A few words that characterise one thing at a glance.

The thing in a few words: "Soft", "For beginners", "43 in stock". tags sits under a summary on a detail page, so the reader knows what something is like before reading a line about it.

SoftFor beginners43 in stock

Re-rendered in the browser from the SDK’s own scales. Not a screenshot.

Rendered natively by the Flutter SDK since 0.35.0 and the web SDK since 0.12.0. A build that does not declare it is never offered it.

When not to use it

Not for a list of options to pick from, which are quick_replies or a variant_picker: tags are a description, and they do nothing when tapped.

Only from what is known about the thing. A tag the copilot guessed is a claim nobody made.

Props

Every block also carries type and a required fallback_text of 1 to 300 characters.

PropTypeRequiredConstraints
itemsstring[]Yes1 to 6 strings, 1 to 24 characters each.

On the wire

{
  "id": "blk_41",
  "type": "tags",
  "fallback_text": "Soft, for beginners, size 43 in stock.",
  "props": { "items": ["Soft", "For beginners", "43 in stock"] }
}

Interaction

None.

Accessibility

Announced as a list of its words.