---
title: Fluid Tabs
description: The component is a sliding animation card
author: RudraSankha
---

<ComponentPreview name="tabs-fluid-tabs--primary" />

## Installation

<Steps>
<Step>Install dependencies</Step>

```bash
npm install framer-motion lucide-react
```

<Step>Update `tailwind.config.js`</Step>

Add the following to your tailwind.config.js file.

```json
module.exports = {
  theme: {
    extend: {
    }
  }
}
```

<Step>Run the following command</Step>

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

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

<Step>Paste the code</Step>{" "}

Open the newly created file and paste the following code:

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

```

</Steps>

## Credits

Built by [Rudra Sankha Sinhamahapatra](https://github.com/Rudra-Sankha-Sinhamahapatra)  
Twitter Handle [Rudra Sankha](https://x.com/RudraSankha)
