# \#svg

**URL:** https://forums.swift.org/tag/svg/997.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Introducing swift-dom: a cross-platform HTML and SVG DSL](https://forums.swift.org/t/introducing-swift-dom-a-cross-platform-html-and-svg-dsl/71407)

<div class="topic-metadata">

**Author:** [@taylorswift](https://forums.swift.org/u/taylorswift)\
**Replies:** 7\
**Last updated:** [June 23, 2024, 12:05am UTC](https://forums.swift.org/t/introducing-swift-dom-a-cross-platform-html-and-svg-dsl/71407 "2024-06-23T00:05:47Z")

</div>

The swift-dom library is a cross-platform, efficient, expressive DSL for generating HTML (and related formats) with few intermediate allocations. $0\[.li\] { $0\[.p\] { $0.class = "album" } = "Tortured Poets Departm…
