skillfed

dash-svg

SVG support library for Plotly/Dash

dash-svg v0.0.12 90.3K downloads/30d#13,601 on PyPI
Permissive license MIT Abandoned released

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-svg

uv

uv add dash-svg

poetry

poetry add dash-svg

Installing 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

Framework :: Dash

Tags

svg components for dashplotly dash graphicsvector graphics in dashdash svg elementsscalable vector graphics dashdash visualization components
svgdash-componentabandoned

More Graphics packages