Hold To Confirm Button
A production-scale, light + dark Hold To Confirm Button component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add hold-to-confirm-buttonUsage
import { HoldToConfirmButton } from "@lerpa/ui";
<HoldToConfirmButton />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | |
| confirmLabel | string | — | |
| holdMs | number | — | |
| accent | string | — | |
| onConfirm | () => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.