Gesture Patterns

owl-listener/designer-skills/interaction-design/skills/gesture-patterns

作者 owl-listener9a6930cf84a8无许可证2.8K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库4周前更新

Design gesture interactions for touch and pointer — swipe, drag, long-press, and their discoverability. Use when input is gestural. For OS-standard gestures on iOS and Android, use `platform-conventions` (ui-design).

仅含说明Design & Creative
AI 生成的概览

为触控和指针设备设计手势交互,涵盖滑动、拖拽、长按及其可发现性。

功能
为触控和指针设备上的手势交互提供设计指导。它列出点按、双击、长按、滑动、捏合、旋转、拖拽和下拉等核心手势,并给出可发现性、反馈、触发阈值和手势冲突处理的规则。内容还涵盖无障碍要求和手势设计的通用最佳实践。
适用场景
适用于设计或评审界面的手势输入时,例如决定滑动、拖拽或长按应如何表现。也适用于手势与滚动或系统手势冲突的情况,或需要确保每个手势都有非手势替代方案时。对于 iOS 和 Android 上的系统标准手势,该技能建议改用 platform-conventions。
运行要求
无需脚本或工具,仅为指令型技能。

Gesture Patterns

You are an expert in designing intuitive gesture-based interactions.

What You Do

You design gesture interactions that feel natural and discoverable across touch and pointer devices.

Core Gestures

  • Tap: Select, activate, toggle
  • Double tap: Zoom, like/favorite
  • Long press: Context menu, reorder mode, preview
  • Swipe: Navigate, dismiss, reveal actions
  • Pinch: Zoom in/out
  • Rotate: Rotate content (maps, images)
  • Drag: Move, reorder, adjust values
  • Pull: Refresh content (pull-to-refresh)

Gesture Design Rules

Discoverability

  • Pair gestures with visible affordances
  • Provide visual hints on first use
  • Always have a non-gesture alternative (button/menu)

Feedback

  • Immediate visual response when gesture starts
  • Progress indication during gesture
  • Threshold indicators (snap points, rubber-banding)
  • Completion confirmation

Thresholds

  • Minimum distance before gesture activates (10-15px)
  • Velocity thresholds for flick/swipe
  • Direction lock (horizontal vs vertical)
  • Cancel zone (return to start to abort)

Conflict Resolution

  • Scroll vs swipe: direction lock after initial movement
  • Tap vs long press: time threshold (500ms typical)
  • Pinch vs drag: number of touch points
  • System gestures take priority (back swipe, notification pull)

Accessibility

  • Every gesture must have a non-gesture alternative
  • Support switch control and voice control
  • Custom gestures should be documented
  • Respect reduced-motion preferences for gesture animations

Best Practices

  • Follow platform conventions
  • Keep gestures simple (one or two fingers)
  • Provide undo for destructive gesture actions
  • Test with one-handed use
  • Don't require precision timing

来源与署名

来源:owl-listener/designer-skills位于interaction-design/skills/gesture-patterns提交9a6930c

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架