> For the complete documentation index, see [llms.txt](https://minwork.gitbook.io/double-tap-hook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minwork.gitbook.io/double-tap-hook/introduction.md).

# Introduction

[![codecov](https://codecov.io/gh/minwork/react/branch/main/graph/badge.svg?token=2KPMMSLDOM)](https://codecov.io/gh/minwork/react) ![npm type definitions](https://img.shields.io/npm/types/use-double-tap) ![npm bundle size](https://img.shields.io/bundlephobia/min/use-double-tap) ![npm](https://img.shields.io/npm/v/use-double-tap) ![GitHub](https://img.shields.io/github/license/minwork/react)

<figure><img src="/files/F3Qpe5ZIoBfmHt4wpH2h" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
React hook for handling double tap on mobile devices
{% endhint %}

## Main features

* Detect double tap on mobile devices
* Adjustable detection threshold
* Callback for single tap
