ionic-team / ionic-team/ionic-framework

feat: control badge positioning on icon within ion-button

Open
#18,736 7 comments 22 reactions 0 assignees View on GitHub
package: core type: feature request
Dominant language
TypeScript
Stars
52.7k
Forks
13.3k
Avg merge
1d 15h
Merged PRs (30d)
51

Description

# Feature Request

**Ionic version:**
[x] **4.x**

**Describe the Feature Request**
`ion-button` with slottable `ion-badge` to indicate notifications.

**Describe Preferred Solution**
`ion-tab-button` already has this. From the [doc](https://ionicframework.com/docs/api/tabs):
```


Schedule
6

```

**Describe Alternatives**
Reference to how this can be done currently:
https://forum.ionicframework.com/t/how-to-add-a-badge-to-a-icon-inside-a-ion-button/70868/3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.