Hold to delete

A hold to delete button for React that asks for a long press before anything is removed. The pill fills while you hold it, the bin starts to shake near the end, and letting go early drains it back. Set the hold time, the rewind speed and the shake. A safer pattern for destructive actions.

Hold to delete, at rest

Press · included with Bencho Pro

Hold to delete props

NameTypeDefaultDescription
holdnumber1.5sHow long it has to be held. From 0.6 to 3s.
rewindnumber60How fast it drains when let go. From 0 to 100.
cornernumber20pxCorner. From 0 to 20px.

Part of Pro. Use it anywhere, just don't resell it. Licence

More blocks

More press blocks