---
title: "Tap animated icon"
description: "Tap animated icon (Actions). A finger taps the screen. Light: the hand presses in toward its fingertip and stops with a hit, the touch ring above the fingertip spreads out and fades as it lands, and the hand springs back while a fresh ring grows back in place. Strong: a double tap, two quick presses, the second deeper, each sending a ring out wider."
canonical: https://generativeicons.com/icons/tap/
---

# Tap animated icon

A finger taps the screen. Light: the hand presses in toward its fingertip and stops with a hit, the touch ring above the fingertip spreads out and fades as it lands, and the hand springs back while a fresh ring grows back in place. Strong: a double tap, two quick presses, the second deeper, each sending a ring out wider.

- Id: `tap`
- Category: Actions
- Search terms: touch, touchscreen, touch screen, finger, finger press, press, gesture, hand pointer, double tap, poke, touch input
- One action, back to rest
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/tap.lottie (dotLottie, 5505 bytes, sha256 896c6f8d0baa9837e4bf5cbf6a7659504cecee1b42075d126ce8ca4bb11eec77)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add tap
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/tap.mjs';

export function TapIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/tap.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/tap/ · https://generativeicons.com/api/icons/tap
