Package-level declarations
Types
Link copied to clipboard
class DialogScope
Slot structure passed as receiver to Dialog content.
Functions
Link copied to clipboard
fun Dialog(open: Boolean, onOpenChange: (Boolean) -> Unit, content: @Composable DialogScope.() -> Unit)
Shadcn/ui-style Dialog root — mirrors Dialog with a controlled open state.
Link copied to clipboard
Any composable that dismisses the dialog when tapped.
Link copied to clipboard
fun DialogContent(open: Boolean, onDismiss: () -> Unit, modifier: Modifier = Modifier, showCloseButton: Boolean = true, properties: DialogProperties = DialogProperties(usePlatformDefaultWidth = false), content: @Composable ColumnScope.() -> Unit)
The dialog panel — mirrors DialogContent from dialog.tsx.
Link copied to clipboard
Link copied to clipboard
fun DialogFooter(modifier: Modifier = Modifier, showCloseButton: Boolean = false, onDismiss: () -> Unit? = null, content: @Composable RowScope.() -> Unit)
Footer row with optional built-in close button. Uses KButton for showCloseButton.
Link copied to clipboard
Link copied to clipboard
Semi-transparent scrim behind the dialog panel.
Link copied to clipboard
No-op wrapper to mirror the web DialogPortal slot.
Link copied to clipboard
Link copied to clipboard
Wraps any composable that should open the dialog. Pass the setter directly if managing state externally.