nano-svg: An SVG parser for icons
Parse static SVG icons and vector artwork for geometry renderers, rasterizers and UI toolkits.
Reads UTF-8 ByteString input using hexml for XML and flatparse
for attribute values. Returns a flat array of shapes in paint order,
each with absolute path segments, a transform and a resolved style.
Rendering and viewport mapping are left to the caller.
Gradients, patterns, text, masks, clipping paths, filters and CSS stylesheets are not supported. See Graphics.NanoSvg for supported features and limitations.
[Skip to Readme]
Downloads
- nano-svg-0.2.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0, 0.2.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.17 && <4.23), bytestring (>=0.11.1 && <0.13), containers (>=0.6 && <0.9), flatparse (>=0.5 && <0.6), hexml (>=0.3.5 && <0.4), primitive (>=0.9 && <0.10) [details] |
| Tested with | ghc ==9.14.1 |
| License | MIT |
| Author | goolord |
| Maintainer | zacharyachurchill@gmail.com |
| Uploaded | by goolord at 2026-09-27T02:31:25Z |
| Category | Graphics |
| Home page | https://github.com/goolord/nano-svg |
| Bug tracker | https://github.com/goolord/nano-svg/issues |
| Source repo | head: git clone https://github.com/goolord/nano-svg.git |
| Distributions | |
| Downloads | 8 total (8 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |