🖱 A resizable and draggable component for React.
Installations
npm install react-rnd
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
20.17.0
NPM Version
10.8.2
Score
92.1
Supply Chain
95.2
Quality
88.2
Maintenance
100
Vulnerability
99.6
License
Releases
Contributors
Languages
TypeScript (90.79%)
JavaScript (7.97%)
Shell (0.54%)
HTML (0.41%)
CSS (0.29%)
Developer
Download Statistics
Total Downloads
29,051,134
Last Day
16,007
Last Week
108,719
Last Month
893,577
Last Year
9,985,778
GitHub Statistics
4,005 Stars
784 Commits
329 Forks
22 Watching
46 Branches
42 Contributors
Bundle Size
47.31 kB
Minified
12.60 kB
Minified + Gzipped
Package Meta Information
Latest Version
10.4.14
Package Id
react-rnd@10.4.14
Unpacked Size
84.22 kB
Size
15.44 kB
File Count
9
NPM Version
10.8.2
Node Version
20.17.0
Publised On
18 Dec 2024
Total Downloads
Cumulative downloads
Total Downloads
29,051,134
Last day
-20.4%
16,007
Compared to previous day
Last week
-48.3%
108,719
Compared to previous week
Last month
-4.2%
893,577
Compared to previous month
Last year
46.2%
9,985,778
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
3
Dev Dependencies
50
A resizable and draggable component for React.
Table of Contents
Screenshot
https://codesandbox.io/s/xpm699v4lp
Live Demo
Storybook
CodeSandbox
CodeSandbox(with default)
CodeSandbox(with size and position)
CodeSandbox(with typescript)
CodeSandbox(with hooks)
Install
- use npm
1npm i -S react-rnd
- use yarn
1yarn add react-rnd
Usage
Example with default
1<Rnd 2 default={{ 3 x: 0, 4 y: 0, 5 width: 320, 6 height: 200, 7 }} 8> 9 Rnd 10</Rnd>
Example with position
and size
1<Rnd 2 size={{ width: this.state.width, height: this.state.height }} 3 position={{ x: this.state.x, y: this.state.y }} 4 onDragStop={(e, d) => { this.setState({ x: d.x, y: d.y }) }} 5 onResizeStop={(e, direction, ref, delta, position) => { 6 this.setState({ 7 width: ref.style.width, 8 height: ref.style.height, 9 ...position, 10 }); 11 }} 12> 13 001 14</Rnd>
Props
default: { x: number; y: number; width?: number | string; height?: number | string; };
The width
and height
property is used to set the default size of the component.
For example, you can set 300
, '300px'
, 50%
.
If omitted, set 'auto'
.
The x
and y
property is used to set the default position of the component.
size?: { width: (number | string), height: (number | string) };
The size
property is used to set size of the component.
For example, you can set 300, '300px', 50%.
Use size
if you need to control size state by yourself.
position?: { x: number, y: number };
The position
property is used to set position of the component.
Use position
if you need to control size state by yourself.
see, following example.
1<Rnd 2 size={{ width: this.state.width, height: this.state.height }} 3 position={{ x: this.state.x, y: this.state.y }} 4 onDragStop={(e, d) => { this.setState({ x: d.x, y: d.y }) }} 5 onResize={(e, direction, ref, delta, position) => { 6 this.setState({ 7 width: ref.offsetWidth, 8 height: ref.offsetHeight, 9 ...position, 10 }); 11 }} 12> 13 001 14</Rnd>
className?: string;
The className
property is used to set the custom className
of the component.
style?: { [key: string]: string };
The style
property is used to set the custom style
of the component.
minWidth?: number | string;
The minWidth
property is used to set the minimum width of the component.
For example, you can set 300
, '300px'
, 50%
.
minHeight?: number | string;
The minHeight
property is used to set the minimum height of the component.
For example, you can set 300
, '300px'
, 50%
.
maxWidth?: number | string;
The maxWidth
property is used to set the maximum width of the component.
For example, you can set 300
, '300px'
, 50%
.
maxHeight?: number | string
;
The maxHeight
property is used to set the maximum height of the component.
For example, you can set 300
, '300px'
, 50%
.
resizeGrid?: [number, number];
The resizeGrid
property is used to specify the increments that resizing should snap to. Defaults to [1, 1]
.
dragGrid?: [number, number];
The dragGrid
property is used to specify the increments that moving should snap to. Defaults to [1, 1]
.
lockAspectRatio?: boolean | number;
The lockAspectRatio
property is used to lock aspect ratio.
Set to true
to lock the aspect ratio based on the initial size.
Set to a numeric value to lock a specific aspect ratio (such as 16/9
).
If set to numeric, make sure to set initial height/width to values with correct aspect ratio.
If omitted, set false
.
lockAspectRatioExtraWidth?: number;
The lockAspectRatioExtraWidth
property enables a resizable component to maintain an aspect ratio plus extra width.
For instance, a video could be displayed 16:9 with a 50px side bar.
If omitted, set 0
.
scale?: number;
Specifies the scale of the canvas you are dragging or resizing this element on. This allows
you to, for example, get the correct drag / resize deltas while you are zoomed in or out via
a transform or matrix in the parent of this element.
If omitted, set 1
.
lockAspectRatioExtraHeight?: number;
The lockAspectRatioExtraHeight
property enables a resizable component to maintain an aspect ratio plus extra height.
For instance, a video could be displayed 16:9 with a 50px header bar.
If omitted, set 0
.
dragHandleClassName?: string;
Specifies a selector to be used as the handle that initiates drag.
Example: handle
.
resizeHandleStyles?: HandleStyles;
The resizeHandleStyles
property is used to override the style of one or more resize handles.
Only the axis you specify will have its handle style replaced.
If you specify a value for right
it will completely replace the styles for the right
resize handle,
but other handle will still use the default styles.
1 2export type HandleStyles = { 3 bottom?: React.CSSProperties, 4 bottomLeft?: React.CSSProperties, 5 bottomRight?: React.CSSProperties, 6 left?: React.CSSProperties, 7 right?: React.CSSProperties, 8 top?: React.CSSProperties, 9 topLeft?: React.CSSProperties, 10 topRight?: React.CSSProperties 11}
resizeHandleClasses?: HandleClasses;
The resizeHandleClasses
property is used to set the className of one or more resize handles.
1type HandleClasses = { 2 bottom?: string; 3 bottomLeft?: string; 4 bottomRight?: string; 5 left?: string; 6 right?: string; 7 top?: string; 8 topLeft?: string; 9 topRight?: string; 10}
resizeHandleComponent?
: HandleCompoent;`
The resizeHandleComponent
allows you to pass a custom React component as the resize handle.
1type HandleComponent = { 2 top?: React.ReactElement<any>; 3 right?: React.ReactElement<any>; 4 bottom?: React.ReactElement<any>; 5 left?: React.ReactElement<any>; 6 topRight?: React.ReactElement<any>; 7 bottomRight?: React.ReactElement<any>; 8 bottomLeft?: React.ReactElement<any>; 9 topLeft?: React.ReactElement<any>; 10}
resizeHandleWrapperClass?: string;
The resizeHandleWrapperClass
property is used to set css class name of resize handle wrapper(span
) element.
resizeHandleWrapperStyle?: Style;
The resizeHandleWrapperStyle
property is used to set css class name of resize handle wrapper(span
) element.
enableResizing?: ?Enable;
The enableResizing
property is used to set the resizable permission of the component.
The permission of top
, right
, bottom
, left
, topRight
, bottomRight
, bottomLeft
, topLeft
direction resizing.
If omitted, all resizer are enabled.
If you want to permit only right direction resizing, set { top:false, right:true, bottom:false, left:false, topRight:false, bottomRight:false, bottomLeft:false, topLeft:false }
.
1export type Enable = { 2 bottom?: boolean; 3 bottomLeft?: boolean; 4 bottomRight?: boolean; 5 left?: boolean; 6 right?: boolean; 7 top?: boolean; 8 topLeft?: boolean; 9 topRight?: boolean; 10} | boolean
disableDragging?: boolean;
The disableDragging
property disables dragging completely.
cancel?: string;
The cancel
property disables specifies a selector to be used to prevent drag initialization (e.g. .body
).
dragAxis?: 'x' | 'y' | 'both' | 'none'
The direction of allowed movement (dragging) allowed ('x','y','both','none').
bounds?: string; | Element
Specifies movement boundaries. Accepted values:
parent
restricts movement within the node's offsetParent (nearest node with position relative or absolute)window
,body
, Selector like.fooClassName
orElement
.
enableUserSelectHack?: boolean;
By default, we add 'user-select:none' attributes to the document body
to prevent ugly text selection during drag. If this is causing problems
for your app, set this to false
.
scale?: number;
Specifies the scale of the canvas your are resizing and dragging this element on. This allows
you to, for example, get the correct resize and drag deltas while you are zoomed in or out via
a transform or matrix in the parent of this element.
If omitted, set 1
.
Callback
onResizeStart?: RndResizeStartCallback;
RndResizeStartCallback
type is below.
1export type RndResizeStartCallback = ( 2 e: SyntheticMouseEvent<HTMLDivElement> | SyntheticTouchEvent<HTMLDivElement>, 3 dir: ResizeDirection, 4 refToElement: React.ElementRef<'div'>, 5) => void;
Calls when resizable component resize start.
onResize?: RndResizeCallback;
RndResizeCallback
type is below.
1export type RndResizeCallback = ( 2 e: MouseEvent | TouchEvent, 3 dir: ResizeDirection, 4 refToElement: React.ElementRef<'div'>, 5 delta: ResizableDelta, 6 position: Position, 7) => void;
Calls when resizable component resizing.
onResizeStop?: RndResizeCallback;
RndResizeCallback
type is below.
1export type RndResizeCallback = ( 2 e: MouseEvent | TouchEvent, 3 dir: ResizeDirection, 4 refToElement: React.ElementRef<'div'>, 5 delta: ResizableDelta, 6 position: Position, 7) => void;
Calls when resizable component resize stop.
onDragStart: DraggableEventHandler;
Callback called on dragging start.
1type DraggableData = { 2 node: HTMLElement, 3 x: number, 4 y: number, 5 deltaX: number, deltaY: number, 6 lastX: number, lastY: number 7}; 8 9type DraggableEventHandler = ( 10 e: SyntheticMouseEvent | SyntheticTouchEvent, data: DraggableData, 11) => void | false;
onDrag: DraggableEventHandler;
onDrag
called with the following parameters:
1type DraggableData = { 2 node: HTMLElement, 3 x: number, 4 y: number, 5 deltaX: number, deltaY: number, 6 lastX: number, lastY: number 7}; 8 9type DraggableEventHandler = ( 10 e: SyntheticMouseEvent | SyntheticTouchEvent, data: DraggableData, 11) => void | false;
onDragStop: DraggableEventHandler;
onDragStop
called on dragging stop.
1type DraggableData = { 2 node: HTMLElement, 3 x: number, 4 y: number, 5 deltaX: number, deltaY: number, 6 lastX: number, lastY: number 7}; 8 9type DraggableEventHandler = ( 10 e: SyntheticMouseEvent | SyntheticTouchEvent, data: DraggableData, 11) => void | false;
Instance API
updateSize(size: { width: string | number, height: string | number })
Update component size.
For example, you can set 300
, '300px'
, 50%
.
- for example
1class YourComponent extends Component { 2 3 ... 4 5 update() { 6 this.rnd.updateSize({ width: 200, height: 300 }); 7 } 8 9 render() { 10 return ( 11 <Rnd ref={c => { this.rnd = c; }} ...rest > 12 example 13 </Rnd> 14 ); 15 } 16 ... 17}
updatePosition({ x: number, y: number }): void
Update component position.
grid
bounds
props is ignored, when this method called.
- for example
1class YourComponent extends Component { 2 3 ... 4 5 update() { 6 this.rnd.updatePosition({ x: 200, y: 300 }); 7 } 8 9 render() { 10 return ( 11 <Rnd ref={c => { this.rnd = c; }} ...rest > 12 example 13 </Rnd> 14 ); 15 } 16 17 ... 18}
allowAnyClick?: boolean
If set to true
, will allow dragging on non left-button clicks.
Test
1npm t
Contribute
If you have a feature request, please add it as an issue or make a pull request.
If you have a bug to report, please reproduce the bug in CodeSandbox to help us easily isolate it.
Changelog
v10.4.14
- Upgrade
re-resizable
to6.10.3
v10.4.13
- Upgrade
re-resizable
to6.10.0
v10.4.12
-
Fixes $945, When using vite and resizing from other than right and bottom - the element is shaking weirdly.
-
Upgrade
re-resizable
to6.9.17
-
Fixes #942, define callback refs inline to work with latest versions of Next.js / React.
v10.4.10
- Upgrade
re-resizable
to6.9.14
v10.4.7
- Fixed a bug,
maxHeight
does not work with%
#914
v10.4.6
- Upgrade
re-resizable
to6.9.11
- Upgrade
react-draggable
to4.4.6
- Fixed a bug, wrong position in
onDrag
#910
v10.4.1
- Support Element for bounds.
v10.3.7
- Upgrade
re-resizable
to6.9.6
- Add peer deps.
v10.3.6
- Upgrade
re-resizable
to6.9.2
- Upgrade
react-draggable
to v4.4.4
v10.3.5
- Upgrade
re-resizable
to6.9.1
v10.3.4
- Fixed a bound check with locked aspect ratio (fully fixes #209)
v10.3.1, v10.3.2
- Fixed a bug, top and left resize issue, caused by "position" #792
v10.3.0
- Fixed a callback position when dragAxis specified
v10.2.5
- Fixed a glitch when dragAxis is enabled and component is being resized #780
v10.2.3
- Fixed a bug, if set minWidth or minHeight with
px
, reize dowes not work. #739
v10.2.0
- Upgrade
react-draggable
to v4.4.3 - Add
allowAnyClick
props. - Add
nodeRef
props.
v10.1.10
- Downgrade
react-draggable
to v4.2.0 #690
v10.1.9
- Update
react-draggable
to v4.3.1
v10.1.8
- Update
re-resizable
to v6.3.2
v10.1.7
- A minor fix for a bug with forwarding of cancelling indication of an onDrag event. (#667)
v10.1.6
- Fixes #641 without causing other issues with typing.
v10.1.5
- Fixed a bug, react-draggable not bundling with rollup #641
v10.1.4
- Fixed a bug, box moves when resized #622
v10.1.3
- Fixed a bug, position is wrong when onResize #618
v10.1.2
- Upgrade re-resizable to 6.1.1
- Upgrade react-draggable to 4.1.0
v10.1.1
- Upgrade re-resizable to 6.1.0
v10.1.0
- Implement resizeHandleComponent #591
- Update dependency react-draggable to v4
v10.0.0
- Fix: Fix #526
- Feat: Add
onMouseUp
callback. - Feat: Use
React.pureComponent
v9.2.0
- Chore: Use
re-resizablev5
v9.1.2
- Fix: Fixes memory leak #499
v9.1.1
- Fix: Add
scale
props to index.js.flow.
v9.1.0
- Feat: Add
scale
props. #482 - Feat: Upgrade deps.
v9.0.4
- Fix: cursor style #469
v9.0.3
- update dependency re-resizable to v4.9.3 #444
v9.0.2
- fix: resizeHandleWrapperClass warning shown in console #428
v9.0.1
- fix: Allow additional props in typescript.
v9.0.0
- fix: change
default export
toexport
#405
v8.0.2
- fix: fixed a bug,
bounds
is ignored when lock aspect ratio set. - feat: add
body
to bounds props.
v8.0.1
- fix: [#221] fixed a bug, maxwidth / height not applied.
v8.0.0
- fix: fixed some position and resizing bug.
- fix: [#209] bounds
window
. you can check here. - fix: [#317] add onMouseDown. i.e)
<Rnd onMouseDown={...} />
- [BREAKING] fix: [#335] add . to
dragHandleClassName
automatically, Please pass string (i.ehandle
. - [BREAKING] fix: remove
extendsProps
. Please add extends props directly. i.e)<Rnd data-foo="42" />
- [BREAKING] fix: remove
z
props. Please addzIndex
viastyle
props. i.e)<Rnd style={{ zIndex: 9 }} />
v8.0.0-beta.2
- fix: Upgrade
re-resizable
to fix percentage size and bare behavior.
v8.0.0-beta.1
- fix: Fixed a bug, controlled position does not work correctly.
- feat: Use
typescript
instead offlowype
.
v8.0.0-beta.0
- fix: Remove dummy
<div />
,isMounted
state andsetParentPosition()
.
v7.4.3
- fix: Add
props,children
to dummy<div>
to render children in first.
v7.4.2 (unpublished)
fix: isMounted
and (!this.state.isMounted) return <div />
line #356
v7.4.1
- fix: Fixed Array.from error in IE11
v7.4.0
- fix: add
enableUserSelectHack?: boolean;
.
v7.3.1
- chore(deps): upgrade deps
- chore(deps): upgrade lint and remove unused state
- chore(deps): install prettier
v7.3.0
- chore(deps): upgrade re-resizable
v7.2.0
- Support for cancel feature of react-draggable #206
v7.1.5
- Fixed a issue #199 Add enableUserSelectHack props to react-draggable
v7.1.4
- Fixed a issue #188 maxWidth and maxHeight props don't respect after resize
v7.1.3
- Fixed a bug,
extendProps
is not passed correctly. - Fixed a bug,
bounds
is not work correctly. (#162)
v7.1.1 / v7.1.2
- Add internal props.
v7.1.0
- Add
size
. - Add
position
.
v7.0.0
- Add
default
instead ofx
,y
,width
,height
. - Add
resizeHandleWrapperClass
andresizeHandleWrapperStyle
.
v6.0.1
- Remove unnecessary types.
v6.0.0
- Use rollup.
- Support % min/max size.
- Change props, remove
default
and addx
,y
,width
,height
. - Rename
dragHandlersXXXX
andresizeHandlersXXXX
props todragHandleXXXX
andresizeHandleXXXX
.
v5.1.3
- Fix cursor style, set
normal
to cursor style whendragHandlerClassName
is not empty.
v5.1.2
- Add position
relative
when component will update.
v5.1.1
- Add
top: 0
,left: 0
. - Add position
relative
when parent position equalsstatic
.
v5.1.0
- Update dependencies(
react-draggable v3
,flow-bin v0.53
, and other...)
v5.0.9
- Fix bug new
z
props is not applied to state.
v5.0.8
- Add
extendsProps
. #129
v5.0.7
- Add
disableDragging
props.
v5.0.6
- Fix flow error.
v5.0.5
- Add index.js.flow
v5.0.4
- Fix Issue #117.
v5.0.3
- Fix
updateZIndex
. - Fix
updateSize
. - Fix left and top bounds.
v5.0.2
- Fix argument events #100
v5.0.1
- Fix example
- Update README
v5.0.0
- Fix resize bounds.
- Modify API.
- Use original
react-draggable
.
v4.2.1
- Added
updateZIndex
, method to updated componentzIndex
state.
v4.2.0
- Pass the new position in the onResizeStop callback #60
v4.1.0
- Pass the new position along in the resize callback #55
v4.0.1
- Fix style props to applt zIndex chaned.
v4.0.0
- Rename
react-rnd
. - Remove
canUpdatePositionByParent
property. - Remove
canUpdateSizeByParent
property. - Remove
initiAsResizing
property. - Change
x
,y
,width
andheight
property toinitial
. - Add
updateSize
,updatePosition
, method to updated conponent state. - Add
lockAspectRatio
property to lock aspect ratio when resizing.
v3.0.0
- Add
canUpdatePositionByParent
property.
v2.0.0
- Fix bug, resize and grid not work properly.
v1.2.0
- Add
grid
props to snap grid. (thanks @paulyoung) - Fix bug, moveAxis not work properly.
v1.1.3
- Fix situations when on dragStop you wanted to revert to 0,0 position #39
- Add
canUpdateSizeByParent
props #38
v1.1.2
- Add object.assign transform
v1.1.0
- Add add module exports plugin for
require
v1.0.1
- Bug fix
v1.0.0
- Support react v15.x
- Support left, top resizer
- Remove start props, use width, height, x, and y.
v0.5.3
- Add handle selector
License
The MIT License (MIT)
Copyright (c) 2018 bokuweb
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 4/20 approved changesets -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/ci.yml:1
- Info: no jobLevel write permissions found
Reason
1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/bokuweb/react-rnd/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/bokuweb/react-rnd/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/bokuweb/react-rnd/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/bokuweb/react-rnd/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/bokuweb/react-rnd/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/bokuweb/react-rnd/ci.yml/master?enable=pin
- Info: 0 out of 4 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 2 third-party GitHubAction dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 25 are checked with a SAST tool
Reason
41 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm
- Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986 / GHSA-64vr-g452-qvp3
- Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7
- Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx
- Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-434g-2637-qmqr
- Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m
- Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw
- Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p
- Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747
- Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx
- Warn: Project is vulnerable to: GHSA-8mmm-9v2q-x3f9
- Warn: Project is vulnerable to: GHSA-vfrc-7r7c-w9mx
- Warn: Project is vulnerable to: GHSA-7wwv-vh3v-89cq
- Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp
- Warn: Project is vulnerable to: GHSA-4wx3-54gh-9fr9
- Warn: Project is vulnerable to: GHSA-xf5p-87ch-gxw2
- Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj
- Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf
- Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
- Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
- Warn: Project is vulnerable to: GHSA-wvhm-4hhf-97x9
- Warn: Project is vulnerable to: GHSA-h4hr-7fg3-h35w
- Warn: Project is vulnerable to: GHSA-gj77-59wh-66hg
- Warn: Project is vulnerable to: GHSA-hqhp-5p83-hx96
- Warn: Project is vulnerable to: GHSA-3949-f494-cm99
- Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg
- Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p
- Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq
- Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v
- Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
Score
2.7
/10
Last Scanned on 2025-01-06
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to react-rnd
@types/react-rnd
Stub TypeScript definitions entry for react-rnd, which provides its own types definitions
react-rnd-dragline
这是一个基于 react-rnd 实现的拖拽组件,在rnd的功能基础上增加了拖拽时显示辅助线及吸附的功能。
react-rnd-dragline-enhancement
这是一个基于 react-rnd 实现的拖拽组件,在rnd的功能基础上增加了拖拽时显示辅助线及吸附的功能。
react-rnd-mp
Based on react-rnd 9.1.2