Skip to content

Badge

A short label in a pill.

Use it for: Status and counts. Like Text, it can show fixed text or a field.

  • CategoryVisual
  • ChildrenNone
  • DataOne field (bindings.value)
  • ActionNone
Prop Required Accepts What it does
text No text, up to 200 characters The text to show. Leave it out when the text comes from bindings.value.

Every component also accepts id (required, unique on its screen), and the optional preset and style described in Style options.

{
"id": "status",
"type": "Badge",
"props": {
"text": "New"
}
}