diff --git a/en/components/badge.md b/en/components/badge.md index 9c3a197f4d..21f94f6622 100644 --- a/en/components/badge.md +++ b/en/components/badge.md @@ -142,14 +142,16 @@ igx-badge { ### Badge Value and Icon -Use the `[value]` input to display text or a numeric count inside the badge. This is the recommended approach instead of projecting content directly: +Use the `[value]` input to display text or a numeric count inside the badge: ```html - +``` + +Use the `[icon]` input to display an icon inside the badge: - -{{ model.value }} +```html + ``` When both `[icon]` and `[value]` are set, the badge displays both simultaneously: @@ -159,10 +161,16 @@ When both `[icon]` and `[value]` are set, the badge displays both simultaneously ``` -To display only a numeric value without an icon, make sure `[icon]` is not set: +Or you can project content directly: ```html - + {{ model.value }} + + + + bluetooth + Bluetooth + ``` ### Badge Icon