Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Type Alias ButtonVariant

    ButtonVariant: "primary" | "danger"

    A button's role, which a caller sets as its data-variant attribute and themes style: primary for the one action a form or dialog exists for, danger for actions that destroy or end something. Without one, a button is a plain action. The styled Button passes the attribute through unchanged, so options that set it, such as useConfirm's confirmVariant, take this type.