I just launched @thanhnn/react-resizable – a lightweight, headless resizable component library for React. It supports controlled and uncontrolled modes, drag-to-resize with aspect ratio locking, min/max constraints, and works seamlessly with TypeScript.
Why I built this:
Most resizable libraries are bloated or opinionated. I wanted something modern, flexible, and unstyled that fits right into any design system. Inspired by Radix’s asChild pattern for composability.
Replies
npm
Hey Product Hunt!
I just launched @thanhnn/react-resizable – a lightweight, headless resizable component library for React. It supports controlled and uncontrolled modes, drag-to-resize with aspect ratio locking, min/max constraints, and works seamlessly with TypeScript.
Why I built this:
Most resizable libraries are bloated or opinionated. I wanted something modern, flexible, and unstyled that fits right into any design system. Inspired by Radix’s asChild pattern for composability.
Key features:
Fully headless and accessible
Type-safe with TypeScript
asChild support (Radix-style)
Works with React 17–19
Tiny bundle size
No external styling
GitHub: https://github.com/nnthanh010619...
NPM: https://www.npmjs.com/package/@t...
I’d love your feedback, feature requests, or suggestions. Thanks for checking it out!