Swift package · v0.1.0
KLPageCurl
Add an accessible page-curl transition with a controlled fallback.
A SwiftUI transition layer that keeps page-curl presentation, accessibility behavior, and reduced-motion handling within a small integration boundary.
Functions
- SwiftUI page-curl transition
- Reduced-motion aware presentation
- Accessibility-oriented transition behavior
- Controlled fallback for unsupported paths
Not included
It provides the transition effect and accessibility behavior. Navigation state, page content, and application routing remain with the integrating application.
Install with SwiftPM
Package.swiftSwift
.package(url: "https://github.com/KoenLee1023/KLPageCurl.git", from: "0.1.0")Usage
Integration exampleSwift
content
.transition(.klPageCurl(configuration))API documentation
Open the complete API documentation.KLPageCurlTransitionApplies the page-curl presentation and its reduced-motion fallback.
KLPageCurlConfigurationDefines transition direction, timing, and fallback behavior.
KLPageCurlAccessibilityKeeps the transition usable when motion is reduced or unavailable.
Demo apps
Page Curl Gallery
Compare directions, timing, and fallback presentation.
Accessibility Lab
Inspect reduced-motion and accessibility behavior.