--- id: streamlit-sortables version: "0.3.1" license: Apache License (2.0) license_treatment: permissive maintenance: dormant --- # streamlit-sortables — A Streamlit component to provide sortable list. License: permissive · Maintenance: dormant · Downloads: 75.5K/mo ## What it is and what it does Streamlit Sortables is a Streamlit component that renders interactive, drag-and-drop sortable lists in your web app. Users can reorder items by dragging them, and the component returns the new order back to your Python code. It supports single lists of strings, multiple containers with separate sort spaces, and custom CSS styling to match your app's design. The package wraps a frontend component (built with standard web technologies) and exposes a simple Python API through the `sort_items()` function. It depends only on Streamlit itself, making installation frictionless. The component is in Alpha status and development is infrequent, but the repository remains accessible and the latest release is recent. Use it for: - Build task-management interfaces where users drag tasks between priority buckets or status columns. - Create quiz or survey builders where respondents reorder options to express preferences or rank items. - Design workflow dashboards where users organize pipeline stages, queues, or process steps by dragging. - Build data-entry forms that let users sort a list of items before submission or processing. - Create interactive tutorials or educational apps where students arrange concepts, steps, or answers in order. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Streamlit Sortables adds drag-and-drop sortable list components to Streamlit applications, letting users reorder items interactively in the UI and returning the sorted result to your code. Yes, if you need drag-and-drop list sorting in a Streamlit app and can accept infrequent updates. The package is low-friction to install, has no security vulnerabilities, and the permissive Apache 2.0 license poses no restrictions. The dormant maintenance status means you should not expect rapid bug fixes, but the recent repository activity suggests it is not abandoned. Best suited for projects where sorting is a secondary feature rather than mission-critical functionality. ## Install pip install streamlit-sortables uv add streamlit-sortables poetry add streamlit-sortables ## Installing streamlit-sortables Before you install: Installation is straightforward with no compiled dependencies. The package is dormant (last release 578 days ago) but the repository remains active with a recent commit on 2025-01-21, suggesting maintenance is infrequent rather than abandoned. License in practice: Licensed under Apache License 2.0, a permissive open-source license that allows commercial and private use with minimal restrictions, making it safe to integrate into most projects. Quickstart: pip install streamlit-sortables import streamlit as st from streamlit_sortables import sort_items original_items = ['A', 'B', 'C'] sorted_items = sort_items(original_items) st.write(f'Sorted: {sorted_items}') Requires Python 3.9 or later and a working Streamlit application to run. Verify before relying: - Whether custom_style parameter accepts arbitrary CSS or has constraints on what can be customized. - Performance characteristics when sorting large lists or many containers simultaneously. - Browser compatibility and whether all modern browsers are supported equally. ## Package facts - License: Apache License (2.0) (permissive) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 75.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags streamlit sortable list component, drag and drop list reordering, streamlit interactive list UI, sortable items streamlit, streamlit list sorting widget, draggable list component, streamlit multi-container sorting, streamlit-component, ui-widget, drag-and-drop [View on SkillFed](https://skillfed.io/packages/streamlit-sortables) · [View on PyPI](https://pypi.org/project/streamlit-sortables/)