Kotlin/kotlinx.html
Kotlin DSL for HTML observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 97
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4171
- days_rel: 595
- days_push: 22
- n_releases_24m: 1
Adoption not part of the score
1747 stars · 134 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
kotlinx.html is an official JetBrains Kotlin library providing a type-safe DSL for building HTML, either streaming to a Writer/Appendable or constructing DOM trees. It supports all Kotlin Multiplatform targets including JVM, JS, and WasmJS.
Use cases
- generate html from kotlin code
- build dom trees in kotlin for the browser
- render server-side html templates in kotlin
- write type-safe html without string concatenation
- create html for kotlin/wasm web apps
- stream html output to a writer in a ktor server
When to choose
- you write Kotlin and want compile-time-safe HTML generation
- you need HTML rendering across JVM, JS, and WasmJS targets
- you prefer building DOM programmatically over hand-written HTML templates
When to avoid
- your stack is not Kotlin or JVM-based
- you need designer-friendly template files rather than code-based markup
- you need a full frontend framework with state management
Facets
library · maturity stable
templating frontend-framework web-development frontend jvm browser wasm cross-platform kotlin html-dsl kotlin-multiplatform dom type-safe-html nodejs
1 source
- readme: https://github.com/Kotlin/kotlinx.html · fetched 2026-08-28 · b73a0405f58b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Kotlin/kotlinx.html | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="Kotlin/kotlinx.html")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem