Docs
Swap Card
When button is toggle card swipes up and down
requires interactiontoggle
Installation
Install dependencies
This uses Filpcard for the text. Install it by following the instructions here. You can use simple text only if you don't want to use WaveReveal.
This uses WaveReveal for the text. Install it by following the instructions here. You can use simple text only if you don't want to use WaveReveal.
Run the following command
It will create a new file called swap-card.tsx
inside the components/animata/card
directory.
Paste the code
Open the newly created file and paste the following code:
Credits
Built by Sumin Gurung