ionic-team / ionic-team/ionic-framework
feat: control badge positioning on icon within ion-button
Open
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
Assessment
This issue has not been assessed yet.