mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
* chore(snapshot): adds support for multiple platforms and passing folder * test(e2e): update e2e tests for multiple platforms * test(e2e): fix failing backdrop tests * chore(snapshot): remove console logs
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