r/androiddev • u/Ahmed_El_Gendy • Oct 10 '26
I made a customizable squircle bottom navigation bar for Android (SqNav)
Hey everyone,
I recently built an open-source Android library called SqNav. It's a bottom navigation bar designed with floating squircle card transitions and a glowing indicator for the active tab.
I wanted something clean, with smooth spring animations, and easy to customize without building custom drawables and animations from scratch every time.
A few highlights:
- Floating squircle card with spring overshoot animations for the active tab
- Neon glow indicator dot on top of the selected item (can be toggled on or off)
- Full styling control through XML or code (background, corner radius, stroke borders, sizes, and colors)
- Compatible with Jetpack Compose, Kotlin Views, and Java
- Lightweight with minimal overhead
Attached is a quick preview GIF showing it in action.
You can check out the implementation, sample code, and documentation on GitHub: sqnav
I would really appreciate any feedback, suggestions, or thoughts on the design. If you run into any issues or want to contribute, feel free to open an issue or PR!
12
u/LupusGemini Oct 10 '26
Is the squircle in the room with us?
12
u/RedditForcesToLogin Oct 10 '26
This looks like a button you click, not an indicator of "you're here in this tab".
9
u/Omer-Ash Oct 10 '26
Looks nice and clean. But just to be clear, this shape is not squircle. It's square with rounded corners. A squircle is much more circular than what you've made there.
2
u/shlusiak Oct 11 '26
Don't you need to be tired of something first?
2
u/SidiKotlin Oct 11 '26
nice, it will be part of the app i am building currently!!!
4
u/blazems Oct 10 '26
It doesn’t look good and doesn’t seem fitting for a nav bar
1
u/WageBeatapp Oct 10 '26
The squircle corners look a lot smoother than the usual RoundedCornerShape. Is the shape a custom
Shapewith a superellipse path, or are you approximating it with cubic Béziers? Also wondering how it behaves with the ripple/indication; clipping the ripple to a non-standard path is usually where these components get fiddly.2
u/Pravejxlab Oct 12 '26
Simple yet unique 😊
1
u/AcademicMistake Oct 15 '26
Thats not a good look. The glowing light is also totally pointless if theres a square that also appears over the active tab......
This has not been well thought out.
0
u/ngcanthony Oct 10 '26
Looks nice! What was your inspiration for making this type of nav bar?
-3
u/Apart-Abroad1625 Oct 10 '26
Good job it looks good 👍