The library re-resizable is a simple and lightweight library that allows you to resize elements. It's easy to use, has great docs, no dependencies, and is actively maintained (as of 2024 06). I used it at work and it made my life easier so I fully recommend it. 🙂
There's even a Storybook of different use cases.
Full disclosure: It's the only library I tried for this feature so I can't say it's the best. I just know it worked really well in my situation. Hope it helps!