Hi Devs!
I just released @emmanuel-saleem/moving-button, a lightweight React/Next.js package that adds playful, moving buttons to your apps.
✨ Key Feature
- If a user enters the wrong email or password, the button moves away.
- If credentials are correct, the button stays still. This makes login forms more interactive and fun while giving instant visual feedback.
🛠 Tech Compatibility
- React.js
- Next.js
- Works smoothly with Vite + React projects
💻 Installation
npm install @emmanuel-saleem/moving-button
🔧 Usage
import { MovingButton } from '@emmanuel-saleem/moving-button';
<MovingButton>
Login
</MovingButton>
It’s perfect for adding a fun, gamified, or playful touch to your UI.
I’d love to hear your thoughts, feedback, or ideas for new features!
Top comments (0)