RE

React Resizable

react-resizable

A component that is resizable with handles.

Utilities
react
resize
resizable
react-resizable
Utilities
javascript
npm
frontend
open source
ui
Stars
2.6k
Weekly
4.0M
Open issues
12
Bundle
~25 kB

Installation

npm install react-resizable

Code example

import { useResizable } from "react-resizable";

export function Example() {
  const value = useResizable();
  return <p>{String(value)}</p>;
}

Pros & cons

Pros

  • Actively maintained by Samuel Reed
  • 4.0M weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~25 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 12 open issues on GitHub

FAQs

Alternatives & similar libraries