KToaster
fun KToaster(modifier: Modifier = Modifier, maxVisible: Int = 3, alignment: Alignment = Alignment.BottomCenter)(source)
Places the toast stack in your composable tree.
Place once at the root, typically overlaid on your Scaffold / NavHost. Call KToastManager.show / KToastManager.success etc. from anywhere.
Mirrors shadcn/ui Toaster backed by Sonner.
Box(Modifier.fillMaxSize()) {
NavHost(…)
KToaster()
}Content copied to clipboard