FloatAround — Scroll-Linked Avoidance
Content that steps around floating overlays, row by row, as you scroll—for Jetpack Compose & Flutter.
On tablets and foldables, a floating navigation pill covers whatever scrolls beneath it. Padding the whole list wastes the space the pill was meant to save. FloatAround computes a per-row inset as a pure function of vertical distance—stepping aside smoothly when beside the pill and reclaiming full width everywhere else.
Published with a formal research paper on Zenodo (DOI: 10.5281/zenodo.24144275) and shipped in production for Jetpack Compose and Flutter.
Scroll-Linked Smootherstep Avoidance in Jetpack Compose & Flutter
Key Features & Engineering
Measure-Phase Geometry (Zero Recomposition)
Evaluates insets during layout measure so scrolling re-measures only the rows near the floating obstacle without triggering widget rebuilds or Compose recompositions.
Smootherstep Feathering Without Clocks
Uses quintic smootherstep t³(6t² − 15t + 10) of vertical distance—moving in 1:1 lockstep with your finger and settling the instant scrolling stops.
Full-Frame Carousels & LTR/RTL Parity
Shifts only the internal content padding of horizontal carousels while keeping their viewport frame full-bleed, automatically mirroring in Arabic RTL.
Published Paper & Dual-Toolkit SDK
Available on JitPack for Jetpack Compose and pub.dev for Flutter, accompanied by the citable Zenodo paper.
Architecture & Runtime Layers
Core Avoidance Equation
intrusion = obstacle.right + gap - row.left; t = 1 - d / feather; inset = intrusion * t³(6t² - 15t + 10). Ports cleanly to any layout system.
Jetpack Compose & Flutter Implementations
Ships as Modifier.floatingObstacle / Modifier.avoid in Compose and FloatingObstacleRegion / Avoid / AvoidanceBuilder in Flutter.
Production Tech Stack
FloatAround is an open-source client layout library for Jetpack Compose and Flutter. It performs only in-memory layout calculations and collects zero data.
Frequently asked
What is FloatAround?
An open-source UI library that lets list content step around floating buttons and overlays row by row as you scroll, instead of padding the whole screen.
Which frameworks does it support?
Jetpack Compose and Flutter, published on Maven and pub.dev.
Is it free to use?
Yes. FloatAround is open source under the Apache 2.0 license.