

Every state


default


hover


focus


holding


done


in-settings
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| label | string | "Hold to delete" | The action, saying that it needs a hold. |
| doneLabel | string | "Deleted" | Shown and announced once the hold completes. |
| hint | string | "Press and hold to confirm." | Read after the label by screen readers. |
| icon | LucideIcon | Trash2 | Icon before the label. |
| holdMs | number | 1500 | How long the hold takes, in milliseconds. |
| onConfirm | () => void | – | Runs when the hold completes. |
| progress | number | – | Fixed progress from 0 to 1 (previews). |
| done | boolean | – | Start in the done state (previews). |
| className | string | – | Extra classes on the button. |
More buttons
All 14button-05 is in UI ProGet UI Pro, €199


