Docs
Swap Text
A component that swaps text on click or hover.
requires interactionhoverclick
Installation
Update tailwind.config.js
Run the following command
It will create a new file called swap-text.tsx
inside the components/animata/text
directory.
Paste the code
Open the newly created file and paste the following code:
Credits
Built by hari