
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
streamlit-arborist
Advanced tools
streamlit-arborist is a Streamlit component based on react-arborist for visualizing hierarchical data structures as interactive tree views.
pip install streamlit-arborist
A minimal app.py file with sample data:
from streamlit_arborist import tree_view
data = [
{
"id": "1",
"name": "Parent 1",
"children": [
{"id": "1.1", "name": "Child 1"},
{"id": "1.2", "name": "Child 2"}
]
},
{
"id": "2",
"name": "Parent 2",
"children": [
{"id": "2.1", "name": "Child 3"},
{"id": "2.2", "name": "Child 4"}
]
}
]
tree_view(data)
Run Streamlit:
streamlit run app.py
This repository is based on streamlit/component-template template. Find details about custom components in Streamlit documentation.
The development environment requires uv and Node.js + npm installed.
Install the dev Python environment defined in pyproject.toml
and npm packages in streamlit_arborist/frontend:
make setup
While developing the frontend, you must set the environment variable STREAMLIT_ARBORIST_DEV=true.
(this is done in make commands)
Run the app/example.py app file with Streamlit:
make backend
Start the component's frontend server:
make frontend
Open the app running at http://localhost:8501.
Build the React frontend at streamlit_arborist/frontend/build/ directory and the Python
package wheels at dist/.
make build
The documentation files are located in docs/ directory and written with Sphinx.
make docs
FAQs
Streamlit component for creating tree views
We found that streamlit-arborist demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.