Ion-badge - Ionic Framework
Maybe your like
Badges are inline block elements that usually appear near another element. Typically they contain a number or other characters. They can be used as a notification that there are additional items associated with an element and indicate how many items there are. Badges are hidden if no content is passed in.
Basic Usage
AngularJavaScriptReactVueiOSMDBadges in Tab Buttons
Badges can be added inside a tab button, often used to indicate notifications or highlight additional items associated with the element.
infoEmpty badges are only available for md mode.
AngularJavaScriptReactVueiOSMDTheming
Colors
AngularJavaScriptReactVueiOSMDCSS Properties
AngularJavaScriptReactVueiOSMDProperties
color
| Description | The color to use from your application's color palette. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark". For more information on colors, see theming. |
| Attribute | color |
| Type | "danger" | "dark" | "light" | "medium" | "primary" | "secondary" | "success" | "tertiary" | "warning" | string | undefined |
| Default | undefined |
mode
| Description | The mode determines which platform styles to use.This is a virtual property that is set once during initialization and will not update if you change its value after the initial render. |
| Attribute | mode |
| Type | "ios" | "md" |
| Default | undefined |
Events
No events available for this component.
Methods
No public methods available for this component.
CSS Shadow Parts
No CSS shadow parts available for this component.
CSS Custom Properties
- iOS
- MD
| Name | Description |
|---|---|
| --background | Background of the badge |
| --color | Text color of the badge |
| --padding-bottom | Bottom padding of the badge |
| --padding-end | Right padding if direction is left-to-right, and left padding if direction is right-to-left of the badge |
| --padding-start | Left padding if direction is left-to-right, and right padding if direction is right-to-left of the badge |
| --padding-top | Top padding of the badge |
| Name | Description |
|---|---|
| --background | Background of the badge |
| --color | Text color of the badge |
| --padding-bottom | Bottom padding of the badge |
| --padding-end | Right padding if direction is left-to-right, and left padding if direction is right-to-left of the badge |
| --padding-start | Left padding if direction is left-to-right, and right padding if direction is right-to-left of the badge |
| --padding-top | Top padding of the badge |
Slots
No slots available for this component.
Tag » What Is An Icon Badge
-
What Are App Icon Badges? Understand This Subtle Engagement ...
-
| Leanplum A CleverTap Company What Are App Icon Badges ...
-
What Are App Icon Badges And How To Use Them
-
App Icon Badges Are Not Appearing On Samsung Phone
-
What Are App Icon Badges On Android Phone - YouTube
-
How To Enable Or Disable App Icon Badges On Android
-
Modify A Notification Badge | Android Developers
-
What Are App Icon Badges On The IPhone? - Solve Your Tech
-
Icon Badge - OutSystems 11 Documentation
-
Badge Icons & Symbols - Flaticon
-
The App Badge | Help Center
-
Badging For App Icons - v
-
What Does The Badge Count Icon Represent, And How Do I Change It?
-
Learning About Notification Badges - Pushpay