Function Dialog

Source
pub fn Dialog(_: DialogProps) -> Element
Expand description

Dialogs provide important prompts in a user flow.

material.io

use dioxus::prelude::*;
use dioxus_material::{Dialog, Theme};

fn app() -> Element {
    rsx!(
        Theme {
            Dialog { is_visible: true, h1 { "Dialog" } }
        }
    )
}

ยงProps

For details, see the props struct definition.