{"repo":"RevenueCat/slide-to-unlock","free":true,"listed":false,"github":"https://github.com/RevenueCat/slide-to-unlock","clone":"git clone https://github.com/RevenueCat/slide-to-unlock.git","description":"➡️ Fully customizable slide to unlock UI component for Jetpack Compose and KMP.","language":"Kotlin","stars":135,"topics":["android","compose","jetpack-compose","kmp","kotlin-multiplatform","library","revenuecat","sdk"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"➡️ Fully customizable slide to unlock UI component for Jetpack Compose and KMP. 📷 Previews ✍️ Techncial Content If you want to learn more about how to implement the slide-to-unlock library, how to integrate it with RevenueCat's in-app purchases in Jetpack Compose, and explore real-world examples, check out Enhance in-app purchase experiences with slide to unlock in Jetpack Compose. Contribution 🧡 Slide to Unlock is maintained by RevenueCat. RevenueCat SDK for Android allows you to implement in-app subscriptions and a paywall system on top of Google Play Billing. Also, anyone can contribute to improving code, docs, or something following our Contributing Guideline. Download Version Catalog If you're using Version Catalog, you can configure the dependency by adding it to your libs.versions.toml file as follows: Gradle Add the dependency below to your module 's build.gradle.kts file: For Kotlin Multiplatform, add the dependency below to your module 's build.gradle.kts file: Usage You can easily implement a slide-to-unlock feature using the SlideToUnlock composable. It offers intuitive customization options for colors, text, shapes, and even the entire content of the thumb and hint, allowing you to create a wide variety of styles. If you want to just directly dive into the sample codes, check out the demo project. Basic Usage The SlideToUnlock composable exposes relevant state parameters, allowing you to hoist the slide status and track when the slide action is completed via a ","default_branch":null,"files":null,"tree":[],"storefront":"/r/RevenueCat","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/RevenueCat/slide-to-unlock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}