seq-rs is a library to create SVG diagrams from a DSL, which is currently compatible with the PlantUML DSL (but does not support all the features of PlantUML yet). It compiles to web-assembly, making it suitable for embedding in web front-ends.
Example:
https://planty.gcdisable.com/
(not mobile friendly)