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.

Platforms
iOS 17+ · macOS 14+
Toolchain
Swift 6.0+
License
MIT
Dependencies
None

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))
KLPageCurlTransition

Applies the page-curl presentation and its reduced-motion fallback.

KLPageCurlConfiguration

Defines transition direction, timing, and fallback behavior.

KLPageCurlAccessibility

Keeps the transition usable when motion is reduced or unavailable.

Demo apps