Issue number: internal ## What is the current behavior? - tab-button with badge only supports status badges (small circle with specific color), missing cases with text or icon. ## What is the new behavior? - Added css on tab-button to support new badge hint functionalities such text and icon - Added css on badge to support the existence of a icon inside it - Added support on ionic theme for different position (top and button) - Added badge test case for this use case - There's no figma for md/iOS implementation, so just added for now a best effort on how it looks. **Theme md:** <img width="418" alt="md" src="https://github.com/user-attachments/assets/0281b616-12aa-4107-bf4c-e8fdbe72d7d3" /> **Theme iOS:** <img width="417" alt="ios" src="https://github.com/user-attachments/assets/6102d874-b608-4527-91fb-4ed8b7e536a0" /> **Theme ionic:** <img width="418" alt="ionic" src="https://github.com/user-attachments/assets/10f59d57-0c30-4f04-bbe8-de625b93eb46" /> ### Notes: - All the styles added are based on the [vertical] attribute in order to prevent breaking changes and only affect the badge hint with the new features implemented. - Also top and bottom position under the context of md/iOS themes are not exactly the same as ionic theme due the usage of an `overflow:hidden;` attribute at the `.button-native` context. This `overflow:hidden;` attribute has been overwritten to `overflow:visible;` for ionic theme. ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information [Sample](https://ionic-framework-git-rou-11666-ionic1.vercel.app/src/components/badge/test/hint)
Ionic
Ionic is an open source app development toolkit for building modern, fast, top-quality cross-platform native and Progressive Web Apps from a single codebase with JavaScript and the Web.
Ionic is based on Web Components, which enables significant performance, usability, and feature improvements alongside support for popular web frameworks like Angular, React, and Vue.
Quickstart
·
Documentation
·
Contribute
·
Blog
Community:
Discord
·
Forums
·
Twitter
Packages
| Project | Package | Version | Downloads | Links |
|---|---|---|---|---|
| Core | @ionic/core |
README.md |
||
| Angular | @ionic/angular |
README.md |
||
| Vue | @ionic/vue |
README.md |
||
| React | @ionic/react |
README.md |
Looking for the ionic-angular package? Ionic 3 has been moved to the ionic-v3 repo. See Earlier Versions.
Getting Started
Start a new project by following our documentation. We would love to hear from you! If you have any feedback or run into issues using our framework, please file an issue on this repository.
Migration Guides
Already have an Ionic app? These guides will help you migrate to the latest versions.
- Migrate from v7 to v8
- Migrate from v6 to v7
- Migrate from v5 to v6
- Migrate from v4 to v5
- Migrate from v3 to v4
Examples
The Ionic Conference App is a full featured Ionic app. It is the perfect starting point for learning and building your own app.
Contributing
Thanks for your interest in contributing! Read up on our guidelines for contributing and then look through our issues with a help wanted label.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Earlier Versions
The source code for earlier versions of the Ionic Framework may exist in other repositories. Please open issues and pull requests in their respective repositories.
- Ionic 2/3: Moved to
ionic-team/ionic-v3 - Ionic 1: Moved to
ionic-team/ionic-v1