---
title: Flip Card
description: A dynamic flip card featuring smooth 180-degree flip animations along both the X and Y axes.
labels: ["requires interaction", "hover"]
author: morphhyy
---

<ComponentPreview name="card-flip-card--docs" />

## Installation

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

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

```bash
mkdir -p components/animata/card && touch components/animata/card/flip-card.tsx
```

<Step>Paste the code</Step>

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/card/flip-card.tsx

```

</Steps>

## Credits

Built by [Bibek Bhattarai](https://github.com/morphhyy)
