use-magic-grid: Official React port of the magic-grid library
Emmanuel Olaojo
Posted on September 2, 2024
I created magic-grid a few years ago as a super simple way to set up a pinterest-style grid layout. The library is written in plain js with no dependencies but since then, React has become much more popular and I've seen people struggle to make a react version of the library with varying degrees of success.
use-magic-grid is a beautiful port of magic-grid that makes all the functionality and simplicity of the original library available through a hook. Try it out and open issues if you find bugs. Enjoy!
💖 💪 🙅 🚩
Emmanuel Olaojo
Posted on September 2, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.