Composable Sweet Toast

A library that you can use in 4 different types(Success, Error, Warning, Info) written with Jetpack Compose. You can use this toast easy.

Tech Stack:

  • Kotlin
  • Jetpack Compose
  • Material Design
  • Solid Principles
  • Custom View from Toast

How to install ?

You can add the library to your project using

Add the code below to your project’s settings.gradle file.

 allprojects {
        repositories {
            maven { url "" }

Add the code below to your app’s gradle file.

implementation 'com.github.TalhaFaki:ComposableSweetToast:1.0.0'


For Sweet Success with Short Duration :

SweetSuccess(message = "Success Text!", duration = Toast.LENGTH_SHORT)

For Sweet Error :

SweetError(message = "Error Text!")

For Sweet Warning :

SweetWarning(message = "Warning Text!")

For Sweet Info :

SweetInfo(message = "Info Text!")

Sample App:

Click here for MainScreen


View Github