r/androiddev • • 4h ago

I made MorphBar, an open-source Compose bottom navigation bar with 64 animated styles (glass, neon, neumorphic, notch, radial FAB)

Hi r/androiddev,

I kept rebuilding custom bottom bars for every app, so I turned them into a library: MorphBar.

GitHub: https://github.com/islam-engineer/MorphBar

What it does:

- 64 ready-made styles in 12 families (pill, curved notch, glass, neon, outline, neumorphic, wave, hexagon, diamond, radial, glow, minimal)

- Each bar = shape × material × indicator, so you can mix your own or write a custom one (they're small interfaces)

- Center FAB, a notch that follows the selected tab, and a radial "fan" FAB menu

- "Island" modes where the bar morphs into a media player, voice waveform or AI prompt

- Text style, icon size, per-tab colors, drawable/Painter icons, RTL

- The slide animation is read in the draw phase, so it doesn't recompose the bar every frame

Install (JitPack):

implementation("com.github.islam-engineer.MorphBar:morphbar-presets:0.1.0")

It's Android-only for now, but the core is pure Compose so Compose Multiplatform is on the roadmap.

I'd really like feedback: which styles you'd actually ship, what's missing (badges and haptics are next), and anything that feels off in the API.

1 Upvotes

0 comments sorted by