Description
Balloon is an open-source tooltip library for Jetpack Compose and Compose Multiplatform. It shows a popup bubble with an arrow next to any composable, with animations and full control over how it looks. Version 2.0.0 was rewritten for Compose Multiplatform, so one artifact runs on Android, iOS, desktop (JVM) and the web (Wasm), and everything is drawn with Compose instead of a PopupWindow. There is no View, Context or XML in its API. You can attach a balloon in two ways, either by wrapping an anchor with the Balloon composable or by decorating an existing composable with Modifier.balloon, which needs a BalloonHost higher in the tree. A BalloonState controls when the balloon shows and dismisses, and each show call has a suspend version that returns when the balloon closes, which makes sequences of tooltips easy to write. The arrow follows the side the balloon opens on, and the balloon flips to the other side when there is no room. A migration guide covers moving from version 1.x, and the older View-based version is still available at 1.7.6.…
Highlights
- Tooltips with an arrow and animations for Compose
- Runs on Android, iOS, desktop and web
- Balloon composable or Modifier.balloon
- Suspend calls for sequencing tooltips
- Automatic flipping when there is no room
Ratings & Reviews
No ratings yet
Be the first to rate Balloon.
People also visit
ComposeViews
Compose Multiplatform views, in to Android, Web, Desktop, iOS: Pager, Banner
Balloon FAQ
What is Balloon?
Balloon is a library for showing tooltips in Jetpack Compose and Compose Multiplatform. A tooltip is a popup bubble with an arrow that points at an element on the screen.
Which platforms does it support?
Version 2.0.0 and later target Android, desktop (JVM), iOS (arm64 and simulator targets) and Web (wasmJs) from a single artifact. Android only projects can use the Android-only dependency.
Does it still work with Views?
The 2.0 API has no View or XML. The View-based implementation remains available at version 1.7.6, documented as Balloon 1.x (View).
How do I show and hide a balloon?
Use a BalloonState. Its show call displays the balloon, and dismissing it hides it. Each show call also has a suspend version that returns once the balloon is dismissed.
What happens if there is no room on one side?
The balloon flips over to the opposite side of the anchor and the arrow follows it. A final clamp keeps the balloon inside the window.
How many people use it?
The project says Balloon is downloaded more than 800,000 times a month.
Is it free?
Yes. It is open source and published on GitHub under the skydoves account.
What are the best Balloon alternatives?
Popular alternatives to Balloon include ComposeViews, Sheets and AndroidToolKit. See all Balloon alternatives






