Dialog

    Dialog

    Basic dialog

    Basic dialog — see the example below.

    Edit profile

    Here you can change the details shown to other users.

    Main dialog content.

    Alert dialog

    Set alert on Dialog.Root — headless sets role="alertdialog" and disables closing by clicking the backdrop.

    Really delete?

    This action cannot be undone.

    Panel size (variant)

    Set variant on Dialog.Panel ("xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "full") — dimensions are handled by data-dialog-size in global.css. Without variant the default width applies.

    Large dialog

    Panel with the `lg` variant.

    More space for content.

    Metadata

    Source: meta.generated.json (see npm run generate)

    File base/dialog/meta.generated.json not found or path not allowed.