Want to share a good and helpful library in Compose.
Tired of generic snackbars? Let's explore and integrate SSCompose-CustomInfoBar. This Jetpack Compose library offers a powerful and customizable way to display informative messages within your app.
⚡
Features
•
Content: Add 💬 text, icons, or even custom composables to your info bar for ultimate flexibility.
•
Position: Display the info bar strategically at the ☝️ top or 👇 bottom of your screen.
•
Duration: Control how long the info bar stays visible, from indefinite to short ⚡ or long : hourglass: durations.
•
Styles: Predefined styles like ⚠️ error, ℹ️ info, and warning are available, or craft your own style with custom background, text color, and icons.
•
Swipe to dismiss: Users can dismiss the info bar with a simple swipe, providing an interactive touch.
•
Look & Feel: 🖌️ Customize the info bar's shape, color, and elevation to seamlessly match your app's design.
•
Theming: Integrate with Jetpack Compose's theming system for a consistent and beautiful look across your app.
•
Animations: 🎉 Liven up your info bars with various built-in entrance and exit animations.
•
Offline Notifications: 📶 A constructor flag which allows to automatically displays an info bar giving "you are offline" notification.
•
Action button: 👍 Optional action button to show on InfoBar.
•
On Dismiss Callback: Get notified about bar dismissal.
•
Queueing System: 🔁 Display multiple info bars sequentially.
Github repo:
https://github.com/SimformSolutionsPvtLtd/SSCompose-CustomInfoBar