---
title: Zoom Image
description: Image will zoom in or out while hover
labels: ["requires interaction", "hover"]
author: Sumingurung9
published: false
---

<ComponentPreview name="image-zoom-image--docs" />

## Installation

<Steps>
<Step>Run the following command</Step>

It will create a new file called `zoom-image.tsx` inside the `components/animata/image` directory.

```bash
mkdir -p components/animata/image && touch components/animata/image/zoom-image.tsx
```

<Step>Paste the code</Step>

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/image/zoom-image.tsx

```

</Steps>

## Credits

Built by [Sumin Gurung](https://github.com/GrgSumin)
