XLQP Gen1
ElementsControls

CreateRippleButton

Creates a button with a ripple press effect.

CreateRippleButton

What it does

Creates a button with a ripple press effect.

When to use it

Use it for primary actions that benefit from clear animated click feedback.

ElementFunction:CreateRippleButton(RippleConfig)

local RippleDemo = LeftGroup:CreateRippleButton({
    Name = "Ripple Button",
    Description = "The ripple begins exactly where you press.",
    Callback = function()
        Library:MakeToast({Title = "Ripple pressed", Variant = "Success", Icon = "mouse-pointer-click", Time = 2})
    end
})

Behavior and return value

Store the returned controller or object when later code needs to update its state, call its methods, or close it.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.