Files
ionic-framework/core/src/components/badge

ion-badge

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.

Properties

color

string

The color to use from your Sass $colors map. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark". For more information, see Theming your App.

mode

string

The mode determines which platform styles to use. Possible values are: "ios" or "md". For more information, see Platform Styles.

Attributes

color

string

The color to use from your Sass $colors map. Default options are: "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", and "dark". For more information, see Theming your App.

mode

string

The mode determines which platform styles to use. Possible values are: "ios" or "md". For more information, see Platform Styles.


Built with StencilJS