npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@hanzogui/react-native-sortables

v1.7.1-fork.1

Published

Powerful Sortable Components for Flexible Content Reordering in React Native

Downloads

34

Readme

Banner

React Native Sortables

Powerful Sortable Components for Flexible Content Reordering in React Native

Documentation | Examples | Contributing

npm GitHub issues GitHub contributors GitHub Release Date GitHub

GitHub forks GitHub Repo stars GitHub watchers

Overview

React Native Sortables is a powerful and easy-to-use library that brings smooth, intuitive content reordering to React Native. It provides specialized components whose children can be dynamically reordered through natural dragging gestures.

Key Features

  • 🎯 Flexible Layouts

    • Grid and Flex layout options
    • Support for items with different dimensions
  • 🚀 Performance & Reliability

  • Rich Interactions

    • Auto-scrolling beyond screen bounds
    • Customizable layout animations for items addition and removal
    • Built-in haptic feedback integration (requires react-native-haptic-feedback dependency)
    • Different reordering strategies (insertion, swapping)
  • 💡 Developer Experience

    • Simple API with powerful customization
    • Minimal setup required
  • More features

Installation

  • npm
npm install react-native-sortables
  • yarn
yarn add react-native-sortables

Dependencies

This library is built with:

Make sure to follow their installation instructions for your project.

Quick Start

import { useCallback } from 'react';
import { Text, View, StyleSheet } from 'react-native';
import type { SortableGridRenderItem } from 'react-native-sortables';
import Sortable from 'react-native-sortables';

const DATA = Array.from({ length: 12 }, (_, index) => `Item ${index + 1}`);

export default function Grid() {
  const renderItem = useCallback<SortableGridRenderItem<string>>(
    ({ item }) => (
      <View style={styles.card}>
        <Text>{item}</Text>
      </View>
    ),
    []
  );

  return (
    <Sortable.Grid
      columns={3}
      data={DATA}
      renderItem={renderItem}
      rowGap={10}
      columnGap={10}
    />
  );
}

const styles = StyleSheet.create({
  card: {
    backgroundColor: '#36877F',
    height: 100,
    borderRadius: 10,
    alignItems: 'center',
    justifyContent: 'center'
  }
});

For detailed usage and examples, check out the Documentation.

Local Library Development

  1. Clone and setup:

    git clone https://github.com/MatiPl01/react-native-sortables.git
    cd react-native-sortables
    yarn
    yarn pod  # iOS only
  2. Start an example app:

    cd example/fabric  # or any other example
    yarn start

    Available example apps:

    • fabric - React Native Fabric example
    • paper - React Native Paper example
    • expo - Expo example
    • web - Web example

    You can also run commands from the project root using the yarn example:<name> <command> syntax, e.g.:

    yarn example:fabric start
    yarn example:paper android
    yarn example:expo ios
  3. Build and run:

    • iOS: yarn ios or build in Xcode
    • Android: yarn android or build in Android Studio

Contributing

Contributions are welcome! Please read the Contributing Guide for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support