Skip to content
Hold to confirm, light
Light
Hold to confirm, dark
Dark

Every state

  • Hold to confirm, default, light
    Hold to confirm, default, dark

    default

  • Hold to confirm, hover, light
    Hold to confirm, hover, dark

    hover

  • Hold to confirm, focus, light
    Hold to confirm, focus, dark

    focus

  • Hold to confirm, holding, light
    Hold to confirm, holding, dark

    holding

  • Hold to confirm, done, light
    Hold to confirm, done, dark

    done

  • Hold to confirm, in-settings, light
    Hold to confirm, in-settings, dark

    in-settings

Props

PropTypeDefaultWhat it does
labelstring"Hold to delete"The action, saying that it needs a hold.
doneLabelstring"Deleted"Shown and announced once the hold completes.
hintstring"Press and hold to confirm."Read after the label by screen readers.
iconLucideIconTrash2Icon before the label.
holdMsnumber1500How long the hold takes, in milliseconds.
onConfirm() => void–Runs when the hold completes.
progressnumber–Fixed progress from 0 to 1 (previews).
doneboolean–Start in the done state (previews).
classNamestring–Extra classes on the button.

More buttons

All 14
button-05 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans