streamlit-sortables
A Streamlit component to provide sortable list.
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 on this page — 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
streamlit-sortables on PyPI
pip
pip install streamlit-sortablesuv
uv add streamlit-sortablespoetry
poetry add streamlit-sortablesInstalling 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 the current Python release (!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,!=3.8.*,>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — streamlit |
| Maintenance | dormant — 578 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 75,537/month — #14,704 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: streamlit_sortables-0.3.1-py3-none-any.whl
Keywords: streamlit, sortable, list
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
streamlit-avatarRenders clickable avatar icons with images,…
unclear · top 15,000 on PyPI
streamlit-cardA Streamlit component that renders interactive…
permissive · top 15,000 on PyPI
streamlit-autorefreshAdds a frontend timer to Streamlit apps that…
unclear · top 15,000 on PyPI
streamlit-option-menuA Streamlit component that renders a static…
unclear · top 15,000 on PyPI
st-themeDetects and returns the active theme (light or…
permissive · top 15,000 on PyPI
streamlit-image-coordinatesA Streamlit component that displays an image…
permissive · top 15,000 on PyPI
streamlit-extrasProvides a collection of reusable UI components…
permissive · top 15,000 on PyPI
extra-streamlit-componentsProvides additional UI components for Streamlit…
permissive · top 15,000 on PyPI
streamlit-keyupAdds real-time text input to Streamlit apps…
unclear · top 15,000 on PyPI
streamlit-antd-componentsProvides Ant Design and Mantine UI components…
unclear · top 15,000 on PyPI