dash-svg
SVG support library for Plotly/Dash
What it is and what it does
dash-svg is a lightweight library that wraps SVG elements as Dash components, letting you build vector graphics declaratively within Dash applications. It exports primitives like Svg, G, Path, Circle, and other standard SVG tags as Python classes that integrate with Dash's component model, similar to how dash.html provides HTML elements.
The package has no runtime dependencies beyond Dash itself and installs cleanly. However, it has been abandoned since 2023-02-27 with no commits or updates since then. If you need SVG support in a Dash app and the component API hasn't changed, it will likely work, but you should be prepared to maintain a fork or switch to an alternative if Dash evolves incompatibly.
Use it for:
- Render custom SVG logos or icons within Dash dashboards without embedding raw HTML strings.
- Build interactive vector graphics visualizations that integrate with Dash callbacks and state management.
- Create animated or styled SVG elements as reusable Dash components within applications.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides SVG component primitives (Svg, G, Path, Circle, etc.) for use in Plotly Dash applications, enabling declarative vector graphics rendering within web dashboards.
Yes, if you are already using Dash and need SVG component support—installation is frictionless and the MIT license is permissive. However, be aware the package is abandoned and unmaintained; test thoroughly with your Dash version and plan for potential incompatibility as Dash evolves. Not recommended for new projects requiring long-term support.
Install
dash-svg on PyPI
pip
pip install dash-svguv
uv add dash-svgpoetry
poetry add dash-svgInstalling dash-svg
Before you install
Installation is straightforward with no runtime dependencies. However, the package is abandoned—last release was 2023-02-27, over 1264 days ago. No active maintenance or security updates should be expected.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute the package freely with minimal restrictions.
Quickstart
pip install dash-svg
from dash_svg import Svg, G, Path, Circle
svg_element = Svg([
G([Path(d='M520.5 78.1z'), Circle(cx="420.9", cy="296.5", r="45.7")], fill='#61DAFB')
], viewBox='0 0 841.9 595.3')
Requires Plotly Dash to be installed separately; dash-svg provides only the SVG component layer.
Verify before relying
- Whether the package works with current versions of Dash (last tested/released 2023-02-27)
- Whether any breaking changes in Dash's component API have affected dash-svg since abandonment
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 1,264 days since the last release |
| First released | |
| Downloads | 90,313/month — #13,601 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dash_svg-0.0.12-py3-none-any.whl
Tags
More Graphics packages
Pillow adds image processing capabilities to…
permissive · top 100 on PyPI
fonttoolsfonttools manipulates font files in multiple…
permissive · top 1,000 on PyPI
matplotlib-inlineEnables matplotlib figures to display inline…
permissive · top 1,000 on PyPI
pymupdfPyMuPDF extracts, renders, converts, and…
agpl · top 1,000 on PyPI
pypdfium2pypdfium2 is a Python binding to PDFium that…
permissive · top 1,000 on PyPI
altairAltair is a declarative Python library for…
permissive · top 1,000 on PyPI
dash-cytoscapeDash Cytoscape wraps Cytoscape.js to let you…
permissive · top 15,000 on PyPI
dash-iconifyDash Iconify is a Dash component library that…
permissive · top 15,000 on PyPI
scourScour optimizes and cleans SVG files by…
permissive · top 15,000 on PyPI
dashDash is a Python framework for building…
permissive · top 5,000 on PyPI
dash-bootstrap-templatesProvides Bootstrap-themed Plotly figure…
permissive · top 15,000 on PyPI
dash-tableProvides an interactive DataTable component for…
permissive · top 5,000 on PyPI
dash-authAdds HTTP Basic Authentication and OpenID…
permissive · top 15,000 on PyPI
dash-daqProvides interactive data acquisition and…
permissive · top 15,000 on PyPI
dash-core-componentsProvides a suite of React components for…
permissive · top 5,000 on PyPI
dash-html-componentsProvides vanilla HTML components for use in…
permissive · top 5,000 on PyPI