KVADRANT UI api reference demo

KvadrantToast

lists and pickers

the notification that slides down from the top of the screen

dark
light

mounted as toast

why it looks like this

The notification that slides down from the top and waits ten seconds.

From the top, not the bottom. Material's snackbar rises from the bottom edge over the content it is talking about; Metro's toast comes down over the status bar, because on a phone the bottom of the screen belongs to the application bar. Anyone reaching for a SnackbarHost here gets the right behaviour in the wrong place.

Ten seconds is the phone's timeout, not a preference.

Read it: kvadrant-core/src/commonMain/kotlin/io/github/youndie/kvadrant/components/KvadrantToast.kt · the full signature and every parameter