# bokuweb/react-rnd

🖱  A resizable and draggable component for React.

Repository: https://github.com/bokuweb/react-rnd
Canonical: https://ross.abutalabs.com/products/react-rnd
Homepage: https://bokuweb.github.io/react-rnd/stories
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, drag, resize, resizable, component, draggable
Last push: 2026-05-12T16:10:32+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 82, release rhythm 42, longevity 100
- inputs: {"age_days": 3896, "days_push": 113, "days_rel": 176, "gap_med": 534, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4323, forks 331 (observed 2026-08-28T04:08:41.971717+00:00)

## What it is
A React component library that makes elements both draggable and resizable with a simple declarative API. It supports controlled and uncontrolled size/position, drag and resize callbacks, and TypeScript types.

## Use cases
- make a div draggable and resizable in react
- build a movable resizable panel component
- create draggable windows in a react app
- resize boxes by dragging corners in react
- implement a free-form layout editor with drag and resize
- position and size widgets interactively

## When to choose
- you need a single React component combining drag and resize behavior
- you want controlled or uncontrolled position/size with callbacks
- you use TypeScript and want typed props

## When to avoid
- you need full drag-and-drop between containers or sortable lists
- you are not using React
- you need touch/gesture-heavy mobile interactions beyond basic dragging

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, frontend-framework
- domain: web-development, frontend
- platform: browser
- tags: react, draggable, resizable, typescript, web-server, nodejs

## Member repositories
- bokuweb/react-rnd (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:41.971717+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:21:42.800591+00:00, confidence not recorded.
  - readme: https://github.com/bokuweb/react-rnd (fetched 2026-08-28T04:08:41.971717+00:00, sha 3ccb568012a8)
  - homepage: https://bokuweb.github.io/react-rnd/stories (fetched 2026-08-29T09:10:51.228629+00:00, sha 94a7719bcd43)
  - registry_npm: https://registry.npmjs.org/react-rnd (fetched 2026-08-29T09:10:51.231701+00:00, sha 575a1312a114)
- Data as of 2026-08-30T08:39:29.467469+00:00.
