Modal

    Overview

    When to use

    t.b.d.

    When to consider an alternative

    t.b.d.


    Component

    Default (React)

    Default (HTML)

    Add the data-modal-target attribute to any element to make it a modal trigger. The value of the attribute should be the id of the modal you want to trigger, prefixed with a #.


    Properties

    PropertyTypeRequiredDefault
    childrenNodefalse-
    utilClassNamesStringfalse-
    idStringtrue-
    taglineStringfalse-
    fullscreenBoolfalse-
    onCloseFuncfalse-
    PropertyTypeRequiredDefault
    childrenNodefalse-
    utilClassNamesStringfalse-
    PropertyTypeRequiredDefault
    utilClassNamesStringfalse-
    boxedBoolfalse-
    titleStringfalse-
    badgeStringfalse-
    imageNodefalse-
    PropertyTypeRequiredDefault
    childrenNodefalse-
    utilClassNamesStringfalse-
    boxedBoolfalse-
    PropertyTypeRequiredDefault
    childrenNodefalse-
    utilClassNamesStringfalse-
    boxedBoolfalse-