Implements high-performance, 60fps drag-and-drop interfaces, sortable lists, and grids in React Native using Reanimated 4.
This skill provides expert guidance for integrating the react-native-reanimated-dnd library into React Native projects. It enables the creation of fluid, production-grade interactions such as reorderable lists, 2D sortable grids, and complex drop-zone logic. By utilizing Reanimated 4 and Gesture Handler, the skill ensures all animations run exclusively on the UI thread for maximum performance. It covers advanced implementation patterns including collision detection, axis locking, dynamic item height measurement, and custom drag handles, making it essential for building sophisticated mobile user interfaces.
Características Principales
011,004 GitHub stars
02High-performance 60fps animations running on the UI thread via Reanimated 4
03Advanced sortable grid support with custom columns and reordering strategies
04Automatic layout measurement for variable-height list items
05Sophisticated collision detection algorithms including center, intersect, and contain
06Pre-configured patterns for vertical and horizontal sortable lists
Casos de Uso
01Developing photo gallery editors with sortable grid functionality
02Creating interactive dashboard layouts with draggable and swappable widgets
03Building reorderable task lists or Kanban boards with smooth transitions