streamlit-feedback
Streamlit component that allows you to collect user feedback in your apps
What it is and what it does
streamlit-feedback is a Streamlit component that embeds a feedback widget into your app UI. It presents users with a choice of feedback types—thumbs (up/down) or emoji faces (happiness scale)—and optionally collects accompanying text comments. The component returns the user's response as a dictionary containing the feedback type, score, and any text entered.
The widget is designed for quick integration into Streamlit dashboards and data apps where you want to gather user sentiment or satisfaction signals. It depends only on Streamlit itself, making installation straightforward. Note that Streamlit's architecture means the component triggers a page reload when feedback is submitted, so any callback you provide via on_submit will run on the subsequent rerun when your app code reaches the streamlit_feedback() call again.
Use it for:
- Collect thumbs-up/down ratings on AI model outputs or search results in a Streamlit dashboard.
- Gather emoji-based satisfaction feedback on data visualizations or reports without requiring users to leave the app.
- Add optional text explanations to feedback (e.g., 'why did you rate this negatively?') for post-hoc analysis.
- Save feedback responses to a database via an on_submit callback for later review and improvement iteration.
- A/B test different features or outputs by collecting user preference signals alongside your app's main functionality.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds a user feedback widget to Streamlit apps that collects ratings (thumbs or emoji faces) and optional text comments, returning the response as a dict.
Yes, if you need a lightweight feedback widget in a Streamlit app and can accept dormant maintenance. The package is narrow in scope, has no vulnerabilities, and low install friction. However, be aware that no active development or bug fixes are happening—verify compatibility with your Streamlit version before relying on it in production, and consider it a stable-but-unsupported tool.
Install
streamlit-feedback on PyPI
pip
pip install streamlit-feedbackuv
uv add streamlit-feedbackpoetry
poetry add streamlit-feedbackInstalling streamlit-feedback
Before you install
Low friction: pure Python wheel with only streamlit as a runtime dependency. Maintenance is dormant—last release was 578 days ago—so expect no active bug fixes or updates, though the package remains functional for its narrow scope.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, requiring only attribution.
Quickstart
pip install streamlit-feedback
from streamlit_feedback import streamlit_feedback
feedback = streamlit_feedback(feedback_type="thumbs")
feedback
Requires Streamlit to be installed and running; the component triggers a page reload on submission, so on_submit callbacks execute on the rerun when the app reaches the streamlit_feedback() call again.
Verify before relying
- Whether the component works reliably with current Streamlit versions given the 578-day gap since last release.
- Whether browser compatibility or frontend dependencies have changed since the last release.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — streamlit |
| Maintenance | dormant — 578 days since the last release |
| First released | |
| Downloads | 103,116/month — #12,830 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: streamlit_feedback-0.1.4-py3-none-any.whl
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-pdfAdds a PDF viewer component to Streamlit apps…
permissive · top 15,000 on PyPI
streamlit-vertical-sliderAdds a vertical slider widget to Streamlit apps…
unclear · top 15,000 on PyPI
streamlit-antd-componentsProvides Ant Design and Mantine UI components…
unclear · top 15,000 on PyPI
streamlit-plotly-eventsCaptures click, select, and hover events from…
unclear · top 15,000 on PyPI
st-annotated-textDisplays annotated text with labels and…
permissive · top 15,000 on PyPI
streamlit-code-editorEmbeds an interactive code editor component…
unclear · top 15,000 on PyPI
streamlit-autorefreshAdds a frontend timer to Streamlit apps that…
unclear · top 15,000 on PyPI
streamlit-avatarRenders clickable avatar icons with images,…
unclear · top 15,000 on PyPI
streamlit-quillEmbeds a React Quill rich-text editor component…
unclear · top 15,000 on PyPI