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