Badge

Compact status label component with semantic tone colors.

Usage Notes

Tone variants

namespace: "doc_badge_tone_diff",
  layout: {
    "row:tones": {
      "badge:info": {
        label: "info",
        tone: "info"
      },
      "badge:success": {
        label: "success",
        tone: "success"
      },
      "badge:warning": {
        label: "warning",
        tone: "warning"
      },
      "badge:danger": {
        label: "danger",
        tone: "danger"
      },
      "badge:muted": {
        label: "muted",
        tone: "muted"
      }
    }
  }
}

API Reference