Skip to content
  1. API
  2. Types

BadgeText

Type: object

Properties

  • color(optional) "inherit"|Color[="black"] Color of the badge text
  • content(optional) TextContent[=null] Text to display in the badge
  • font(optional) string[="Arial"] Font to use for the badge text
  • paddingLeft(optional) number[=0] Horizontal padding of the text inside the badge
  • paddingTop(optional) number[=0] Vertical padding of the text inside the badge
  • scale(optional) number[=0.5] Size of the text relative to the badge diameter
  • style(optional) FontStyle[="normal"] Style applied to the badge text