DEV Community

Emmanuel Saleem
Emmanuel Saleem

Posted on

New NPM Package button – Fun & Interactive Buttons for React/Next.js

Hi Devs!

video link https://www.linkedin.com/posts/es77_reactjs-nextjs-npm-activity-7397623625312464896-74YM?utm_source=share&utm_medium=member_desktop&rcm=ACoAACpHnRMB8FtAQEF_vQcQ-7oZwcMgmiRbboI

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
Enter fullscreen mode Exit fullscreen mode

🔧 Usage

import { MovingButton } from '@emmanuel-saleem/moving-button';

<MovingButton>
  Login
</MovingButton>
Enter fullscreen mode Exit fullscreen mode

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!

ReactJS #NextJS #Frontend #JavaScript #NPM #OpenSource #UIUX #WebDevelopment


Top comments (0)