Docs
Toggle Switch
A toggle switch that can be used to turn on or off a feature.
requires interactiontoggle
Installation
Update tailwind.config.js
Run the following command
It will create a new file called toggle-switch.tsx
inside the components/animata/button
directory.
Paste the code
Open the newly created file and paste the following code:
Credits
Built by Aadarsh Baral