1 个仓库
UI elements that change their visual properties like scale and opacity based on user interaction state.
Distinct from Dynamic Overlay Rendering: Distinct from Dynamic Overlay Rendering (f2_mt1) which focuses on cursor-based suggestion menus, not gesture-based view scaling.
Explore 1 awesome GitHub repository matching user interface & experience · Dynamic View Transformations. Refine with filters or upvote what's useful.
Koloda 是一款 iOS 手势交互库和 SwiftUI 视图组件,用于创建可滑动的卡片界面。它提供了一个基于堆栈的视图组件,用于管理重叠视图,确保只有最顶层的元素保持活跃交互。 该库允许自定义卡片外观,包括配置覆盖层和动画,这些动画决定了滑动过程中背景卡片的移动方式。它管理拖拽行为和滑动方向,在卡片被滑动、点击或完全耗尽时触发特定逻辑。 该组件涵盖了手势驱动视图转换的实现,以及用户通过常见选择交互模式关闭的卡片堆栈的渲染。
Adjusts opacity and scale of background cards based on the displacement of the active top card.