Examples of badges containing text, using primary and secondary colors. The badge is applied to its children.
New-UDBadge -BadgeContent { 4 } -Children {
New-UDIcon -Icon Envelope -Size 2x
} -Color primary
New-UDBadge -BadgeContent { 4 } -Children {
New-UDIcon -Icon Envelope -Size 2x
} -Color secondary
New-UDBadge -BadgeContent { 4 } -Children {
New-UDIcon -Icon Envelope -Size 2x
} -Color success