Current version
The current stable release is 1.0.0.Add the dependencies
Add both modules to your shared Kotlin Multiplatform module’s dependencies block:You typically need both
kpdf-core and kpdf-compose together. kpdf-core is the engine — it provides PDF loading, rendering, caching, and state APIs. kpdf-compose is the UI layer — it provides KPdfViewer, KPdfViewerToolbar, KPdfThumbnailStrip, and rememberPdfViewerState, plus the platform save/open flow bindings for Android and iOS. Without kpdf-compose, you have no Compose viewer components.libs.versions.toml first: