Install dependencies
This uses SwapText for the text. Install it by following the instructions here.
Run the following command
It will create a new file called swap-text-card.tsx
inside the components/animata/card
directory.
Paste the code
Open the newly created file and paste the following code: