mikepenz /
AboutLibraries
AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose Multiplatform environments
93/100 healthLoading repository data…
ch4rl3x / repository
A Kotlin Multiplatform library to render HTML content as Compose AnnotatedString, supporting basic formatting and hyperlinks.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
HtmlText is a Kotlin Multiplatform library that allows you to render HTML content as Compose AnnotatedStrings. It supports basic formatting, hyperlinks, and color styling in a multiplatform-friendly way. HtmlText has been made accessible for screen readers and keyboard operation.
[!WARNING]
Starting with version 3.0.0-beta02, the Maven GroupId has changed tode.charlex.composeand artifact names changed frommaterial-html-texttohtml-text-material.
[!NOTE]
🚀 HtmlText is now Compose Multiplatform
| Tag | Description |
|---|---|
<b> | Bold text |
<i> | Italic text |
<strike> | Strikethrough text |
<u> | Underlined text |
<ul> | Unordered list |
<ol start="3" type="1"> | Ordered list (a., A., 1.) |
<li> | List item |
<a href="..."> | Clickable link |
<span style="color: #0000FF"> | Colored text |
<span style="color: rgb(r,g,b)"> | Colored text |
<font color="#FF0000"> | Colored text |
<font color="rgb(r,g,b)"> | Colored text |
To use colors like MaterialTheme.colors.primary in HtmlText, map simple colors.
HtmlText(
stringId = R.string.hello_world_cdata,
colorMapping = mapOf(Color.Red to MaterialTheme.colors.primary)
)
<resources>
<string name="hello_world_escaped">Hello <span style="color: #FF0000">World</span></string>
<string name="hello_world_cdata"><![CDATA[Hello <span style="color: #FF0000">World</span>]]></string>
</resources>

Add actual HtmlText library:
dependencies {
implementation 'de.charlex.compose:html-text-material:3.0.0-beta02'
}
or
dependencies {
implementation 'de.charlex.compose:html-text-material3:3.0.0-beta02'
}
Copyright 2025 Alexander Karkossa
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Selected from shared topics, language and repository description—not editorial ratings.
mikepenz /
AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose Multiplatform environments
93/100 healthpatrykandpatrick /
A powerful and extensible chart library for Compose Multiplatform.
92/100 healthadrielcafe /
🛸 A pragmatic navigation library for Compose Multiplatform
85/100 healthMohamedRejeb /
A Rich text editor library for both Jetpack Compose and Compose Multiplatform, fully customizable, supports HTML and Markdown.
84/100 healthsebaslogen /
Compose Multiplatform library to scope ViewModels to a Composable, surviving configuration changes and navigation
85/100 healthMohamedRejeb /
Compose DND is a library that allows you to easily add drag and drop functionality to your Jetpack Compose or Compose Multiplatform projects.
87/100 health