mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
* refactor(sass): separate sass variables from styles also adds styles for stand alone avatar closes #9192 closes #12880 * style(range): remove deprecated variable * refactor(sass): move variables for chip and fix file naming
ion-badge
Badges are simple components in Ionic containing numbers or text. You can display a badge to indicate that there is new information associated with the item it is on.
<ion-content>
<ion-list>
<ion-item>
<ion-badge slot="start">
34
</ion-badge>
My Item
<ion-badge slot="end">
2
</ion-badge>
</ion-item>
</ion-list>
</ion-content>
Properties
color
string
mode
any
Attributes
color
string
mode
any
Built by StencilJS