Skip to content

Kotlin multiplatform library for compose multiplatform to assist in viewing PDF files from various sources

License

Notifications You must be signed in to change notification settings

zt64/compose-pdf

Repository files navigation

Compose PDF

Maven Central Version GitHub
badge-platform-jvm badge-platform-android

Compose Multiplatform library to display PDF files.

Supported platforms:

  • Desktop (JVM) through ICEpdf
  • Android
  • iOS (planned) #28

Setup

Kotlin Build script
dependencies {
    implementation("dev.zt64:compose-pdf:x.y.z")
}
Version catalog
[versions]
compose-pdf = "x.y.z"

[libraries]
compose-pdf = { module = "dev.zt64:compose-pdf", version.ref = "compose-pdf" }

Usage

val pdfState = rememberLocalPdfState(File("path/to/file.pdf"))

PdfColumn(pdfState)

Planned features

  • Unified local and remote pdf state
  • Using Canvas instead of an Image to render

License

MIT

About

Kotlin multiplatform library for compose multiplatform to assist in viewing PDF files from various sources

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages