# Hold to confirm

Confirm a destructive action by holding, not tapping.

- ID: `hold-to-confirm`
- Import: `animui/hold-to-confirm`
- Category: Actions
- Runtime exports: `HoldToConfirm`, `default`
- Declaration: `types/free/components/hold-to-confirm.d.ts`
- Type provenance: emitted-original-typescript
- Related: button, action-button, dialog, swipe-actions

```tsx
import { HoldToConfirm } from 'animui/hold-to-confirm';
```

This import example is not a complete render recipe: read the declaration below and its local references for required props, data, callbacks and provider context. Use `animui info hold-to-confirm` to resolve the local declaration graph. Global setup is in `llms.txt`.

```ts
export { HoldToConfirm, default } from '../registry/components/hold-to-confirm/hold-to-confirm.js';
export type { HoldToConfirmProps } from '../registry/components/hold-to-confirm/hold-to-confirm.js';
```
