awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
bokuweb avatar

bokuweb/react-rnd

0
View on GitHub↗
4,278 نجوم·335 تفرعات·TypeScript·mit·6 مشاهداتbokuweb.github.io/react-rnd/stories↗

React Rnd

react-rnd is a JavaScript UI interaction library and React component used to create elements that are both draggable and resizable within a browser window. It functions as a constraint-based layout component that wraps DOM elements to enforce boundaries, grid snapping, and aspect ratio locks during manual adjustments.

The library allows for the definition of custom interaction handles to act as the primary triggers for dragging and resizing actions. It supports axis restrictions, boundary limits, and the ability to round position and dimension values to specified pixel increments.

The system provides event-driven tracking that triggers callbacks at the start, progression, and completion of movement or scaling. It manages the spatial state of elements through a hybrid of internal state and controlled properties to maintain precise layout control.

Features

  • Draggable and Resizable React Components - Provides a React component that makes DOM elements draggable and resizable with boundary constraints.
  • Drag and Resize Functionality - Makes DOM elements movable by dragging and resizable by dragging edges or corners.
  • Element Size Limits - Clamps draggable and resizable element dimensions to user-defined minimum and maximum values.
  • Constraint Layout Engines - Calculates component geometry based on dynamic constraints during drag and resize operations.
  • Aspect Ratio Constraints - Enforces width-to-height proportions on UI elements during interactive resizing.
  • Draggable Resizable Placements - Creates interactive elements that users can freely move and resize within a browser window.
  • React Drag and Resize Libraries - Provides a JavaScript library for creating interactive elements that support both dragging and resizing.
  • Programmatic Position and Size - Provides imperative methods to programmatically set element position and dimensions.
  • Drag Boundary Constraints - Restricts dragging within a specified parent, window, body, or CSS selector boundary.
  • Drag Event Callbacks - Fires callbacks at start, during, and after drag or resize operations with position and size data.
  • Grid Snapping - Snaps element position and size to configurable grid increments during drag and resize operations.
  • Constraint Based Layouts - Enforces boundaries, grid snapping, and aspect ratio locks on draggable and resizable elements.
  • Custom Resize Handles - Routes resize actions through user-defined React components or CSS selectors.
  • Grid Snapping Arithmetic - Rounds position and dimension values to the nearest grid increment during movement or scaling.
  • Hybrid State Management - Maintains internal spatial state for responsive interactions while exposing controlled properties.
  • Drag Handles - Restricts dragging to only initiate when the user grabs a specific child element by class name.
  • Drag Direction Restrictions - Limits dragging to only horizontal, only vertical, both, or none.
  • Drag-and-Drop Event Callbacks - Chains start, move, and end callbacks for drag and resize actions.
  • Element Resizers - Updates the size or position of draggable and resizable elements from code using imperative methods.

سجل النجوم

مخطط تاريخ النجوم لـ bokuweb/react-rndمخطط تاريخ النجوم لـ bokuweb/react-rnd

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ React Rnd

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع React Rnd.
  • bokuweb/react-resizable-and-movableالصورة الرمزية لـ bokuweb

    bokuweb/react-resizable-and-movable

    4,309عرض على GitHub↗

    This project is a React UI interaction library and component geometry manager. It provides a set of tools for creating elements within a React application that users can move and resize. The library allows for the customization of interaction handles, enabling the application of custom components, styles, or CSS classes to the resize handles to match specific visual designs. The system covers element manipulation through both direct user interaction and programmatic geometry updates. It includes capabilities for grid snapping, bounding constraints, and locked aspect ratios to control the pos

    TypeScript
    عرض على GitHub↗4,309
  • react-grid-layout/react-draggableالصورة الرمزية لـ react-grid-layout

    react-grid-layout/react-draggable

    9,292عرض على GitHub↗

    react-draggable is a drag and drop library and coordinate-based position manager for React. It functions as a component wrapper that adds draggable behavior to user interface elements, enabling them to be moved via mouse or touch interactions. The library provides touch-enabled interaction tools that unify pointer events across desktop browsers and touch screen devices. It utilizes CSS transforms to handle element movement and coordinate tracking. The system covers movement constraints such as axis restriction and boundary clamping to confine elements within specific areas. It includes posit

    JavaScript
    عرض على GitHub↗9,292
  • daybrush/moveableالصورة الرمزية لـ daybrush

    daybrush/moveable

    10,720عرض على GitHub↗

    Moveable! Draggable! Resizable! Scalable! Rotatable! Warpable! Pinchable! Groupable! Snappable!

    TypeScriptdraggablegroupablemovable
    عرض على GitHub↗10,720
  • juliangarnier/animeالصورة الرمزية لـ juliangarnier

    juliangarnier/anime

    69,932عرض على GitHub↗

    This project is a declarative motion framework and JavaScript animation engine designed to transition CSS properties, SVG attributes, and DOM elements. It provides a comprehensive set of tools for creating complex, multi-part motion sequences by synchronizing animations, timers, and callbacks into a single, unified timeline. The library distinguishes itself through a robust timeline-based sequence orchestrator that allows for precise timing, label-based control, and hierarchical nesting of animations. It also features a physics-driven interaction library that enables draggable elements with c

    JavaScriptanimationanimecanvas
    عرض على GitHub↗69,932
عرض جميع البدائل الـ 30 لـ React Rnd→

الأسئلة الشائعة

ما هي وظيفة bokuweb/react-rnd؟

react-rnd is a JavaScript UI interaction library and React component used to create elements that are both draggable and resizable within a browser window. It functions as a constraint-based layout component that wraps DOM elements to enforce boundaries, grid snapping, and aspect ratio locks during manual adjustments.

ما هي الميزات الرئيسية لـ bokuweb/react-rnd؟

الميزات الرئيسية لـ bokuweb/react-rnd هي: Draggable and Resizable React Components, Drag and Resize Functionality, Element Size Limits, Constraint Layout Engines, Aspect Ratio Constraints, Draggable Resizable Placements, React Drag and Resize Libraries, Programmatic Position and Size.

ما هي البدائل مفتوحة المصدر لـ bokuweb/react-rnd؟

تشمل البدائل مفتوحة المصدر لـ bokuweb/react-rnd: bokuweb/react-resizable-and-movable — This project is a React UI interaction library and component geometry manager. It provides a set of tools for creating… react-grid-layout/react-draggable — react-draggable is a drag and drop library and coordinate-based position manager for React. It functions as a… daybrush/moveable — Moveable! Draggable! Resizable! Scalable! Rotatable! Warpable! Pinchable! Groupable! Snappable! juliangarnier/anime — This project is a declarative motion framework and JavaScript animation engine designed to transition CSS properties,… mzabriskie/react-draggable — react-draggable is a UI interaction library that provides core primitives and components for adding tactile movement… desandro/draggabilly — Draggabilly is a JavaScript drag and drop library used to make DOM elements draggable on desktop and mobile. It serves…