Skip to content

Badge

Overview

The Badge component is used to display concise information, such as a count, usually alongside another element like an icon or a button.

badge

Properties

namedescriptiontypedefault
valueRequired. The content displayed inside the badge. Typically a string, such as a number or label.string-
valueStyleCustomizes the text style of the badge content. Accepts a TextStyle object.TextStyle-