{"categories":[{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"}],"enrichment":{"capability":"Displays annotated text with labels and optional styling in Streamlit apps, accepting strings, tuples with annotations, or htbuilder elements for flexible markup.","skillfed_tags":["streamlit-component","nlp-visualization"],"use_cases":["Display named entity recognition results with entity type labels on extracted text","Highlight parts of speech or grammatical annotations in linguistic analysis tools","Show sentiment or topic labels on text passages in data exploration dashboards","Visualize text classification predictions with category labels"],"what_it_does":"st-annotated-text is a Streamlit component that renders text with inline annotations\u2014labels, highlights, or custom styling applied to specific words or phrases. It wraps htbuilder to generate HTML markup and integrates into Streamlit apps via the annotated_text() function.\n\nYou pass the function a mix of plain strings and tuples; each tuple contains text to annotate plus a label, and optionally CSS color strings for background and foreground. The component renders the result as styled HTML in your UI. It's designed for scenarios where you need to highlight and label portions of text inline without building custom HTML yourself.","worth_installing":"Yes, if you're building a Streamlit app that needs to display annotated or labeled text. Low install friction, no security issues, and permissive license make it straightforward. Dormant maintenance is not a blocker for a stable, single-purpose component; verify color customization and rendering work with your Streamlit version."},"id":"st-annotated-text","links":{"html":"https://skillfed.io/packages/st-annotated-text","md":"https://skillfed.io/packages/st-annotated-text.md","pypi":"https://pypi.org/project/st-annotated-text/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2025-01-23","license_spdx":null,"license_treatment":"permissive","name":"st-annotated-text","python_support":"supports_current","summary":"A simple component to display annotated text in Streamlit apps."},"popularity":{"monthly_downloads":301592,"position":7834,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.0.2"}
