You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Star1 (1)You must be signed in to star a repository
About
TopAlerter: A sleek, customizable alerter for Jetpack Compose with animations, action buttons, progress mode, and full Material 3 theming. Perfect for in-app notifications like success, error, info, or warnings.
TopAlerter — Modern Material 3 Top Alert for Jetpack Compose
A polished, fully customizable top alert component for Jetpack Compose. TopAlerter provides a smooth, toast-style banner notification that slides in from the top with fade + slide animations, supports full Material 3 theming, action buttons, progress indicator mode, custom backgrounds, and automatic dismissal.
Ideal for showing success, error, info, warnings, offline states, queued actions, or in-app announcements.
✨ Features
Smooth slide + fade in/out animations.
Material 3 compliant (Typography, Shapes, Color Scheme).
Theme-aware background using Color.Unspecified.
Transparent mode enabling gradients.
Optional title, message, and leading icon.
Replace icon with an indeterminate progress indicator.
Positive & negative action buttons with full customization.
Custom shapes, colors, typography.
Tap-to-dismiss & callback support.
Auto-dismiss with configurable duration.
📦 Installation
Add jitpack in settings.gradle.kts
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
maven("https://jitpack.io") // Add JitPack here
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven("https://jitpack.io") // And here for project dependencies
}
}
Add to libs.versions.toml in gradle catalog version,
[versions]
topalerter ="RELEASE_VERSION"// specify the version here example 1.0.0
[libraries]
topalerter = { module ="com.github.mflib:topalerter", version.ref ="topalerter" }
TopAlerter: A sleek, customizable alerter for Jetpack Compose with animations, action buttons, progress mode, and full Material 3 theming. Perfect for in-app notifications like success, error, info, or warnings.