https://github.com/tayloraswift/swift-dom
taylorโs (not so) famous HTML DSL ๐
https://github.com/tayloraswift/swift-dom
html server-side-swift svg swift swift-dsl xml
Last synced: 4 months ago
JSON representation
taylorโs (not so) famous HTML DSL ๐
- Host: GitHub
- URL: https://github.com/tayloraswift/swift-dom
- Owner: tayloraswift
- License: apache-2.0
- Created: 2022-01-26T23:10:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-09-24T22:43:22.000Z (9 months ago)
- Last Synced: 2026-01-14T06:03:26.750Z (6 months ago)
- Topics: html, server-side-swift, svg, swift, swift-dsl, xml
- Language: Swift
- Homepage: https://swiftinit.org/docs/swift-dom/html
- Size: 211 KB
- Stars: 26
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Notice: NOTICE
Awesome Lists containing this project
README
***`dom`***
[](https://github.com/tayloraswift/swift-dom/actions/workflows/Tests.yml)
[](https://github.com/tayloraswift/swift-dom/actions/workflows/Documentation.yml)
The ***`swift-dom`*** library is a cross-platform, efficient, expressive DSL for generating HTML
(and related formats) with few intermediate allocations.
[documentation](https://swiftinit.org/docs/swift-dom/html) ยท
[license](LICENSE) ยท
[getting started](https://swiftinit.org/docs/swift-dom/html/getting-started)
## Requirements
The swift-dom library requires Swift 6.2 or later.
| Platform | Status |
| -------- | ------ |
| ๐ง Linux | [](https://github.com/tayloraswift/swift-dom/actions/workflows/Tests.yml) |
| ๐ Darwin | [](https://github.com/tayloraswift/swift-dom/actions/workflows/Tests.yml) |
| ๐ Darwin (iOS) | [](https://github.com/tayloraswift/swift-dom/actions/workflows/iOS.yml) |
| ๐ Darwin (tvOS) | [](https://github.com/tayloraswift/swift-dom/actions/workflows/tvOS.yml) |
| ๐ Darwin (visionOS) | [](https://github.com/tayloraswift/swift-dom/actions/workflows/visionOS.yml) |
| ๐ Darwin (watchOS) | [](https://github.com/tayloraswift/swift-dom/actions/workflows/watchOS.yml) |
[Check deployment minimums](https://swiftinit.org/docs/swift-dom#ss:platform-requirements)