Sweet Confirm #holdpressbutton

Demo to preview the settings


Introduce an innovative way to secure user confirmations in your Bubble app with the Sweet Confirm #holdpressbutton Plugin. This unique plugin revolutionizes the confirmation process by implementing a hold-and-press mechanism, offering a tactile and interactive alternative to traditional confirmation dialogs. It's designed to minimize accidental confirmations, ensuring that users are making deliberate choices within your application.
The plugin features customizable hold durations and visual indicators, enhancing the user experience by providing clear feedback during the confirmation process. As users press and hold the button, a visual cue displays progress, ensuring the action is intentional. Upon reaching the specified duration, the plugin can trigger workflows, integrating seamlessly with your application's logic.
By incorporating the Sweet Confirm #holdpressbutton Plugin, you elevate user engagement and interaction within your Bubble app. It not only adds an extra layer of security to confirmations but also enriches the user interface with an intuitive and interactive element, making digital interactions more deliberate and meaningful.

How to setup

  1. Install plugin Sweet Confirm #holdpressbutton
Image without caption
  1. Place the Sweet confirm element on the page
Image without caption

Plugin Element Properties

Image without caption
Image without caption
Button ID
The HTML ID of the button you want to enable sweet confirm on. Read documentation for more information.
Text, Required
Hold message
Message during holding mouse/key button on element
Text, Required
Success message
Message after holding complete
Text, Required
Delay (seconds)
The holding time required to trigger the workflow.
Number, Required
Button background
Background color for initial state, usually equal to the "gradient from" color
Color, Required
Button success background
Background color for success state
Color, Required
Gradient start Color
Background end color for holding state
Color, Required
Gradient end Color
Background start color for holding state, usually equal to the "background" color
Color, Required
Animate on load?
Enabled initial transition when page is loaded
Hover cursor
Button hover cursor
Hold cursor
Button cursor when being held
Background Size IN
Size of start background color in percentage; for better effect must be greater than 100%
Number, Required
Background Size OUT
Size of end background color in percentage
Number, Required
Background Position IN
Background position for init animation
Text, Required
Background Position OUT
Background position for end animation
Text, Required
Transition speed IN (s)
A transition speed in seconds
Number, Required
Transition speed OUT (s)
A transition speed in seconds
Number, Required
Gradient angle
Angle of the gradient line's starting point
Number, Required
Gradient hardness (%)
Hardness of the gradient
Number, Required

Element actions

1) Reset

Element events

A Sweet Confirm Button Is Clicked
Triggers when a button is clicked
A Sweet Confirm User Stopped Holding
Triggers when a button stopped being held
A Sweet Confirm User Start Holding
Triggers when a button started being held


Update 08.03.24 - Version 1.4.0

  • Acquired by Zeroqode

Update 08.12.23- Version 1.3.4

  • Update

Update 10.08.23 - Version 1.3.3

  • Small update

Update 04.08.23 - Version 1.3.2

  • Small update

Update 26.07.23 - Version 1.3.1

  • Improvement

Update 20.02.23 - Version 1.3.0

  • Added reset worflow action

Update 24.08.22 - Version 1.2.3

  • Update

Update 24.08.22 - Version 1.2.2

  • Rebranding

Update 02.07.22 - Version 1.2.1

  • Bug fixing

Update 02.07.22 - Version 1.2.0

  • New responsive editor compatibility

Update 02.07.22 - Version 1.1.2

  • Bug fixing

Update 02.07.22 - Version 1.1.1

  • x

Update 08.10.21 - Version 1.1.0

  • Fixed bug where button text was highlighted on touch screens

Update 08.10.21 - Version 1.0.1

  • Now compatible with touch screen (mobile)

Update 08.10.21 - Version 1.0.0

  • First release