ConfirmButton
A safety pattern for destructive actions. The hold-to-confirm interaction requires deliberate intent — the user must maintain pressure while watching the red fill progress. This prevents accidental deletions without the friction of a confirmation dialog.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| children* | ReactNode | — | Button label content |
| onConfirm* | () => void | — | Called when hold completes |
| className | string | — | Additional CSS classes |