A New Angular Modal Library From a Developer in New Jersey

A New Angular Modal Library From a Developer in New Jersey

A New Modal on npm

A new Angular modal library has appeared on npm: modal-lib2.
Created by a developer in New Jersey, the package focuses on doing one thing well, and that's modals that just work.


Why It Stands Out

  • No bloat – just Angular.
  • SSR-friendly – guards against document errors.
  • Straightforward API - import, open, close.

Install with:

npm install modal-lib2

Behind the Name

We reached out to the developer and asked about the generic name.

β€œI already had a very cool private modal-lib in my projects,” he said.
β€œWhen I decided to open source it, I just dropped it into another folder and called it modal-lib2. Sometimes generic names are fine, it’s the code that matters. The real reason was at first, I just wanted a modal I could turn off the backdrop, and it evolved from there.”

The Takeaway

Sometimes the smallest tools make the biggest difference. If you’re working in Angular and want a lightweight modal solution that supports SSR, modal-lib2 is worth a look.

πŸ‘‰ modal-lib2 on npm